Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Advice

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
20 posts • Page 1 of 1
Author
Message
leyvi
l33t
l33t
Posts: 806
Joined: Fri Sep 08, 2023 1:22 pm

Advice

  • Quote

Post by leyvi » Tue Jun 02, 2026 8:04 pm

Why the generic title? Because I don't know. Hopefully this won't sound too paranoid.

Recently, I've noticed that all the technology around me has suddenly started behaving funny. I think it might be malware, but then it would have to be cross-platform (my PCs, phone, and networking infrastructure all seem to be affected).

I want to find out if my concerns are justified, or if I just need to chill out (I need to chill out anyway, but it would be good to know if I'm right, I might even be able to do something).

What do you guys recommend for intrusion detection, forensics, etcetera on Gentoo (and GrapheneOS, which I use for my phone, though that's outside the scope of this forum, so I don't know about that)?

Judging by the nature of the strange behaviour in-question, the malware (if it exists) is likely somewhat advanced. And since it affects all of my devices, and all the networks I use on a regular basis (even ones I don't own), the would-be hacker would need to have some serious beef with me. I have no clue how I might have pissed someone off that badly, I don't do anything illegal (I even pay for licenses to use copyrighted material I torrent for personal use, that's how far I'll go to comply with the law). But I do live in a part of the world where warrentless government surveilence is the norm…

EDIT I
By "strange behaviour" I mean everything is slow, battery-life is in the gutter, everything runs hot, network latency is high, and once I ran a traceroute that went to my ISP, then to some address registered to a European company according to whois (nondescript, couldn't find them online), then back to my ISP, then off to it's original destination. I (technically) live in Asia.
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2659
Joined: Tue Jan 30, 2007 1:50 am

Re: Advice

  • Quote

Post by NathanZachary » Wed Jun 03, 2026 1:13 am

It's always alarming when multiple devices starting exhibiting strange behaviour simultaneously, but the conclusion of it being malware in some form seems premature here.

Some connections that I see are "battery-life is in the gutter" and "everything runs hot". Those two symptoms can indicate high processor usage or some application/process consuming substantial resources.

If you disconnect a misbehaving device from your local network, do you see any type of stability return?

Without a lot of additional detail here, it will be quite challenging to provide adequate advice and suggestions.
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56264
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Re: Advice

  • Quote

Post by NeddySeagoon » Wed Jun 03, 2026 8:50 am

leyvi,

Malware usually goes to great lenghts to avoid detection, so that's unlikley.

It's likely something the devices all have in common, so it's only that common factor you need to find.

Battery life is proportional to clock speed, until batteries get old, then they can fail fairly quickly.
Some systems can power down, or even power off parts that are not in use, which is good but does not make up for an old battery.

It's always possible that you have picked up a bitcoin miner by visting some shady website but cross platform is unlikely.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Banana
Administrator
Administrator
User avatar
Posts: 2524
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

Re: Advice

  • Quote

Post by Banana » Wed Jun 03, 2026 10:28 am

As your topic history suggest (only examples), you experiment much. Which is good!

Sometimes a misconfiguration is not immediately recognizable and builds up over time.

In addition to what others said:
Find the common denominator and start from there. Or check your latest experiments. Maybe something changed since then.
Or, if possible, start from scratch to rule out any config confusions build up over time.
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4825
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

Re: Advice

  • Quote

Post by Zucca » Wed Jun 03, 2026 11:31 am

leyvi wrote: Tue Jun 02, 2026 8:04 pmEDIT I
By "strange behaviour" I mean everything is slow, battery-life is in the gutter, everything runs hot, network latency is high, and once I ran a traceroute that went to my ISP, then to some address registered to a European company according to whois (nondescript, couldn't find them online), then back to my ISP, then off to it's original destination. I (technically) live in Asia.
This is rather wild guess, but something spamming your network might cause the symptoms you're describing.
The something might be, for example:
  • packets going in a loop
  • some rogue program spamming your local network
So, does this happen if you take some of your devices out of the network? if the symptons disappear, then I'd start to investigate your network internally for misconfigured program.
..: Zucca :..

Code: Select all

0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
Top
leyvi
l33t
l33t
Posts: 806
Joined: Fri Sep 08, 2023 1:22 pm

Re: Advice

  • Quote

Post by leyvi » Wed Jun 03, 2026 1:22 pm

OK, I'm going to download all distfiles for my next update, disconnect from the internet completely (by unplugging the Ethernet cable), update my system, and see how that goes. I'll try doing something similar (airplane mode, listening to offline music, reading ebooks, watching offline media) on my phone. I'll see how quickly battery life drains.
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2659
Joined: Tue Jan 30, 2007 1:50 am

Re: Advice

  • Quote

Post by NathanZachary » Wed Jun 03, 2026 2:30 pm

I agree that it could be something spamming your network (whether intentionally or unintentionally). Let us know what you find out, and we can keep troubleshooting with you. The more details we have, the easier it will be to continue.

Good luck!
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
leyvi
l33t
l33t
Posts: 806
Joined: Fri Sep 08, 2023 1:22 pm

Re: Advice

  • Quote

Post by leyvi » Thu Jun 04, 2026 12:01 am

What's weird is that this happens on my home network, my school network, and on my cellular network/hotspot. Maybe I've misconfigured some network-related setting on my devices. But it would have to be all of my devices. And one of them is running GrapheneOS, which has very limited network configurability, yet it has these problems even when it's kilometers away from my other devices. My laptop has these problems away from home, even when my phone is in my dormitory. And my desktop has these problems even when I access it remotely.
Top
leyvi
l33t
l33t
Posts: 806
Joined: Fri Sep 08, 2023 1:22 pm

Re: Advice

  • Quote

Post by leyvi » Thu Jun 04, 2026 12:09 am

Zucca wrote: Wed Jun 03, 2026 11:31 amThe something might be, for example:
  • packets going in a loop
  • some rogue program spamming your local network
So, does this happen if you take some of your devices out of the network? if the symptons disappear, then I'd start to investigate your network internally for misconfigured program.
Packets going in a loop sounds implausible to me, given how many networks I use but don't control. A rouge/misconfigured program seems more likely. But how would I figure out which one? I can use packet capture tools, but I'm a lot more interested in statistics than individual packets; what tools do I use for that?
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2659
Joined: Tue Jan 30, 2007 1:50 am

Re: Advice

  • Quote

Post by NathanZachary » Thu Jun 04, 2026 1:32 am

You're right that it's quite peculiar to happen across both multiple devices and multiple networks (some of which are not under your direct control). You'll probably want to start with the basic network analyser tools like Wireshark. I can also recommend NetHogs (which is available in Gentoo) for another approach. Starting with a generalised packet capture and then delving into more specific findings based on that initial capture is my typical method of starting to troubleshoot network congestion or even rogue applications consuming substantial bandwidth.
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
Banana
Administrator
Administrator
User avatar
Posts: 2524
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

Re: Advice

  • Quote

Post by Banana » Thu Jun 04, 2026 6:14 am

leyvi wrote: Thu Jun 04, 2026 12:01 am What's weird is that this happens on my home network, my school network, and on my cellular network/hotspot. Maybe I've misconfigured some network-related setting on my devices. But it would have to be all of my devices. And one of them is running GrapheneOS, which has very limited network configurability, yet it has these problems even when it's kilometers away from my other devices. My laptop has these problems away from home, even when my phone is in my dormitory. And my desktop has these problems even when I access it remotely.
Finding the common denominator is getting complicated.
Do you have any "solid" errors or findings what is wrong? Looking for solution based on feelings is like looking for the needle in a haystack.
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56264
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Re: Advice

  • Quote

Post by NeddySeagoon » Thu Jun 04, 2026 8:48 am

leyvi,

For your battery devices, it may be worth calibrating the battery management system.
There two sources of acumulating error.
1. battery capacity falls with each charge/discarge cycle.
2. The state of charge is done by measuring charge in/and charge out. It's a dead reconning system.

Discharge the battery as far as you can.
Now charge it in one go.
Provided the discharge was far enough, you will get a new number for total capacity. That's actual, not as manufactured and the state of charge system will be recalibrated too.

If the actual capacity is less than half the manufactured capacity, the battery is end of life.
Replace it with a good quality battery from a trustworthy source. You really don't want a Lithium fire.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
leyvi
l33t
l33t
Posts: 806
Joined: Fri Sep 08, 2023 1:22 pm

Re: Advice

  • Quote

Post by leyvi » Fri Jun 05, 2026 9:56 am

NathanZachary wrote: Thu Jun 04, 2026 1:32 am You're right that it's quite peculiar to happen across both multiple devices and multiple networks (some of which are not under your direct control). You'll probably want to start with the basic network analyser tools like Wireshark. I can also recommend NetHogs (which is available in Gentoo) for another approach. Starting with a generalised packet capture and then delving into more specific findings based on that initial capture is my typical method of starting to troubleshoot network congestion or even rogue applications consuming substantial bandwidth.
OK, gonna try NetHogs.
Top
leyvi
l33t
l33t
Posts: 806
Joined: Fri Sep 08, 2023 1:22 pm

Re: Advice

  • Quote

Post by leyvi » Fri Jun 05, 2026 10:00 am

Banana wrote: Thu Jun 04, 2026 6:14 am
leyvi wrote: Thu Jun 04, 2026 12:01 am What's weird is that this happens on my home network, my school network, and on my cellular network/hotspot. Maybe I've misconfigured some network-related setting on my devices. But it would have to be all of my devices. And one of them is running GrapheneOS, which has very limited network configurability, yet it has these problems even when it's kilometers away from my other devices. My laptop has these problems away from home, even when my phone is in my dormitory. And my desktop has these problems even when I access it remotely.
Finding the common denominator is getting complicated.
Do you have any "solid" errors or findings what is wrong? Looking for solution based on feelings is like looking for the needle in a haystack.
Not yet. I aim to try running NetHogs, see what happens.

For the record: chrootkit didn't find anything, unhide won't run all it's tests, and running a ClamAV scan made my system reboot suddenly, a "data fabric flood event" that happens on my desktop sometimes. Last thing might be because the hardware is similar, or it might be an evasion technique.
Top
leyvi
l33t
l33t
Posts: 806
Joined: Fri Sep 08, 2023 1:22 pm

Re: Advice

  • Quote

Post by leyvi » Fri Jun 05, 2026 10:04 am

NeddySeagoon wrote: Thu Jun 04, 2026 8:48 am leyvi,

For your battery devices, it may be worth calibrating the battery management system.
There two sources of acumulating error.
1. battery capacity falls with each charge/discarge cycle.
2. The state of charge is done by measuring charge in/and charge out. It's a dead reconning system.

Discharge the battery as far as you can.
Now charge it in one go.
Provided the discharge was far enough, you will get a new number for total capacity. That's actual, not as manufactured and the state of charge system will be recalibrated too.

If the actual capacity is less than half the manufactured capacity, the battery is end of life.
Replace it with a good quality battery from a trustworthy source. You really don't want a Lithium fire.
Good to know.

I regularly run my phone down to 2% battery. The battery checker says that it's done about 350 discharge cycles over the last year and a half.

I haven't run my laptop down below 50% before, it's only a few months old. For drive health we have SMART and it's userspace tools. But what about battery health?
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4825
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

Re: Advice

  • Quote

Post by Zucca » Fri Jun 05, 2026 2:06 pm

leyvi wrote: Fri Jun 05, 2026 10:00 amand running a ClamAV scan made my system reboot suddenly, a "data fabric flood event" that happens on my desktop sometimes.
Can you elaborate?
That sounds like hardware problem.
..: Zucca :..

Code: Select all

0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2659
Joined: Tue Jan 30, 2007 1:50 am

Re: Advice

  • Quote

Post by NathanZachary » Fri Jun 05, 2026 2:18 pm

I agree with Zucca that that sounds like it could be a hardware fault. The two potential ones that come to mind are faulty/failing RAM or the system overheating.
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
leyvi
l33t
l33t
Posts: 806
Joined: Fri Sep 08, 2023 1:22 pm

Re: Advice

  • Quote

Post by leyvi » Fri Jun 05, 2026 4:00 pm

It is in fact a hardware problem. There are some kernel parameters that can be used to fix it. I just only started having this problem with my laptop after using it a few months (it's only happened once though, whereas on my desktop it happens all the time). I wasn't expecting this to happen at all though.

It isn't completely illogical to speculate that it could be exploited by a hacker wishing to remain undiscovered though.
Top
zen_desu
Guru
Guru
Posts: 529
Joined: Fri Oct 25, 2024 3:14 pm
Location: your area

Re: Advice

  • Quote

Post by zen_desu » Fri Jun 05, 2026 4:17 pm

leyvi wrote: Fri Jun 05, 2026 10:04 am
NeddySeagoon wrote: Thu Jun 04, 2026 8:48 am leyvi,

For your battery devices, it may be worth calibrating the battery management system.
There two sources of acumulating error.
1. battery capacity falls with each charge/discarge cycle.
2. The state of charge is done by measuring charge in/and charge out. It's a dead reconning system.

Discharge the battery as far as you can.
Now charge it in one go.
Provided the discharge was far enough, you will get a new number for total capacity. That's actual, not as manufactured and the state of charge system will be recalibrated too.

If the actual capacity is less than half the manufactured capacity, the battery is end of life.
Replace it with a good quality battery from a trustworthy source. You really don't want a Lithium fire.
Good to know.

I regularly run my phone down to 2% battery. The battery checker says that it's done about 350 discharge cycles over the last year and a half.

I haven't run my laptop down below 50% before, it's only a few months old. For drive health we have SMART and it's userspace tools. But what about battery health?
you may be able to read battery info in /sys depending on the battery. It would have to track and expose that info (generally the devices internal BMS tracks that)
µgRD dev
Wiki writer
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2659
Joined: Tue Jan 30, 2007 1:50 am

Re: Advice

  • Quote

Post by NathanZachary » Fri Jun 05, 2026 6:48 pm

leyvi wrote: Fri Jun 05, 2026 4:00 pm It is in fact a hardware problem. There are some kernel parameters that can be used to fix it. I just only started having this problem with my laptop after using it a few months (it's only happened once though, whereas on my desktop it happens all the time). I wasn't expecting this to happen at all though.

It isn't completely illogical to speculate that it could be exploited by a hacker wishing to remain undiscovered though.
Nobody would fault you for considering malicious activity; it's good to be security-aware. If you need any assistance with kernel parameters, please feel free to ask.
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
Post Reply

20 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy