LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2016, 05:51 AM   #1
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Rep: Reputation: 9
How to identify a possible hack


I have fedora 23 as my desktop and I want make sure if any one has intruded in the past two weeks. Searching the web, I understood that for any possible ssh login, I have to check
Quote:
/var/log/secure
But this file does not exist.

Any suggestions to find out about possible sneaking with the help of the command line is very appreciated.
 
Old 04-21-2016, 06:05 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
see if there's a /var/log/auth.log
 
Old 04-21-2016, 06:05 AM   #3
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by Habitual View Post
see if there's a /var/log/auth.log
No, there is not
 
Old 04-21-2016, 06:21 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Define "intruded"
 
Old 04-21-2016, 06:41 AM   #5
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by Habitual View Post
Define "intruded"
I am kind of suspicious that someone has got remote access to my desktop
 
Old 04-21-2016, 06:46 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I found this:
https://ask.fedoraproject.org/en/que...ogs-on-fedora/

which says
On Fedora 20+, we use journalctl by default. Regular files such as /var/log/messages are no longer available by default.

You have a router?
 
Old 04-21-2016, 07:05 AM   #7
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by Habitual View Post
You have a router?

I checked journalctl, but it is too long to find what I am looking for.
No, I don't have a router
 
Old 04-21-2016, 07:11 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by sryzdn View Post
it is too long to find what I am looking for.
Then you'll never find out.

What is "too long"?

Last edited by Habitual; 04-21-2016 at 07:18 AM.
 
Old 04-21-2016, 08:23 AM   #9
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by Habitual View Post
Then you'll never find out.

What is "too long"?
Honestly, I'm not lazy...
I was hoping to be able to grep the date in journaltcl and check to see anything creepy, but seems that the date does not lead me to what I should look for.
 
Old 04-21-2016, 08:26 AM   #10
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
What makes you believe someone intruded your system?
 
Old 04-21-2016, 08:39 AM   #11
sryzdn
Member
 
Registered: Feb 2013
Posts: 274

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by Habitual View Post
What makes you believe someone intruded your system?
Mainly three reasons:
The weird mouse movement and occasional slow down
I use VPN a lot (I have to) and I met a hacker recently
 
Old 04-21-2016, 08:47 AM   #12
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,096

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
If you haven't already done so, disable SSH access to your system
 
1 members found this post helpful.
Old 04-21-2016, 08:49 AM   #13
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I meet hackers all the time.
VPN too.

Try the journalctl utility again.

See https://access.redhat.com/documentat...e_Journal.html
Code:
journalctl --since=value --until=value
 
1 members found this post helpful.
Old 04-21-2016, 09:01 AM   #14
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
"Vague oddities," like "weird mouse movement" (especially ...), and "occasional slow-downs," are really not cause for suspicion that "someone, somewhere, somehow," has broken into your system and is right there, right now, creating mischief.

Sometimes, a substantial slowdown can be generated by something as innocuous as a file-content indexing daemon. The process runs infrequently but generates a lot of I/O activity when it does. Competition for the drive causes other processes to slow down.

You should, of course, know by what means your systems might be accessible to the outside world, what credentials are needed and so-forth. You should also always be keeping the software up-to-date. You should know that no services are running (nor listed in "xinetd") other than those which you know and intend to be running. And, so on.
 
1 members found this post helpful.
Old 04-21-2016, 06:11 PM   #15
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
If you install the rsyslog package you'll get the traditional /var/log files in Fedora 23
 
2 members found this post helpful.
  


Reply

Tags
fedora 23, hacks



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hack, hack, hacking away!! cousinlucky General 6 07-09-2015 01:01 PM
[SOLVED] Identify an RK SOC without being able to see it louigi600 Linux - Hardware 3 10-05-2014 07:07 PM
LXer: Identify PCI and USB Wired and Wireless Driver in Linux – Identify PCI Driver. Ubuntu, Debian, LXer Syndicated Linux News 0 08-20-2014 07:21 AM
can any one identify this hardware? jayeola General 7 03-12-2009 05:05 AM
How to read "identify" button press event, or state of "identify" blue led with IPMI? iav Linux - Server 0 01-27-2009 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration