LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-09-2019, 12:46 PM   #1
emerald1475
LQ Newbie
 
Registered: May 2019
Posts: 1

Rep: Reputation: Disabled
Computer connecting to malicious IPs


Linux forums>

Setup ->

Linux Mint 19, ubuntu, ubuntu MATE on one drive

Windows 10 on the second

Problem ->

PC connects to 192.241.240.89 on startup

https://www.virustotal.com/#/ip-address/192.241.240.89

Also, when opening browser, PC connects to 93.184.220.29

https://www.virustotal.com/#/ip-address/93.184.220.29

Attempts ->
Run multiple anti-rootkit scanners on windows 10 drive with no positives

Created a new partition table on the linux drive and re-installed Linux Mint 19 with root and swap partitions

Added windows defender and ufw rules for both IPs

Sophos and Clam-AV full system scans

Rkhunter scan, which produced some warning, but im not sure how to act on them further than I have:

Checking for suspicious (large) shared memory segments [ Warning ]

Checking for hidden files and directories [ Warning ]

Suspect files: 0
Rootkit checks...
Rootkits checked : 480
Possible rootkits: 6

However these haven't worked so far. I am not sure what the next steps would be, I am considering wiping both drives but I would like to avoid this.

Thanks for any help
 
Old 05-09-2019, 02:12 PM   #2
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
If I understand you correctly, the problems you are having are related to the windows installation?

If so, you'd better post this question in a windows-related forum. That being said: On an important system that has been compromised I'd never trust some antivirus to clean it. Nuke and pave is the way to go imho.

If on the other hand you find that unexpected connections to remote servers are being made under the linux installation, you might want to run something like
Code:
sudo netstat -A inet -p
to find the offending process.
 
Old 05-09-2019, 02:37 PM   #3
RickDeckard
Member
 
Registered: Jan 2014
Location: Canton, Georgia, USA
Distribution: Debian 12
Posts: 205

Rep: Reputation: Disabled
Rkhunter is a combination signature/anomaly based checker, it's up to you to determine whether or not those are false positives. A false positive could be caused by as little as installing a new version of a core Linux program such as bash. I'd be more concerned if you had active rootkit strings being found in the second part of the scan - after file integrity checks and before suspicious activity checks.

You can check to see what kind of data you're sending - if anything even is going out - to these IPs with tcpdump or something similar.

I can't speak for Windows, but monitoring inode numbers of partitions/files from packages can help if rkhunter doesn't fill you with enough confidence. It's possible for a malicious party to fake atime, mtime and ctime of a co-opted file to cover their tracks, but not so much the inodes themselves.

Of course this last is purely academic and in 90% of cases going to that extent to answer the question of *if* you are compromised isn't needed.
 
Old 05-09-2019, 08:16 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
I'm not as skeptical of AV programs joe2000, but I would recommending downloading a reputable AV program on another computer, burning the installation routine to disk, and disconnecting your computer from the network before scanning. Even if the AV wants to connect to the net for an upgrade, run a scan first.

You may find this article helpful: https://www.computerweekly.com/tip/T...re-for-Windows
 
  


Reply



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
My computer is connecting to unknowns IPs elrezad Linux - Security 8 04-17-2012 04:54 AM
cURL: Server has many IPs, how would I make a cURL script use those IPs to send data? guest Programming 0 04-11-2009 11:42 AM
Getting things straight: Apache, SSL, Multiple External IPs / Internal IPs robin.com.au Linux - Server 21 10-13-2007 11:39 PM
how to define a specific range of IPs and/or multiple IPs in an iptables rule?... TheHellsMaster Linux - Security 9 09-20-2004 10:06 AM
eth0:9 incorrect IPs ,and eth0 not IPs WannaLearnLinux Linux - Networking 10 10-26-2003 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:47 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