[SOLVED] ISP hacked OPNSense Router

Started by peterwkc, November 27, 2024, 09:23:29 AM

Previous topic - Next topic
Quote from: peterwkc on December 17, 2024, 07:15:18 AMI cannot attach screenshot due to size restriction but i want tell you all that i have 100% block packet in overview.

Of course you have. WAN by default blocks everything in. If something messed with your PC or your TV you possibly caught some malware. A firewall does not protect you from that. A firewall is a network security device. One does not need to "hack your OPNsense" for your PC to get compromised.

I would start investigating what really happened to your devices.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Patrick M. Hausen on December 17, 2024, 07:38:56 AM
Quote from: peterwkc on December 17, 2024, 07:15:18 AMI cannot attach screenshot due to size restriction but i want tell you all that i have 100% block packet in overview.

Of course you have. WAN by default blocks everything in. If something messed with your PC or your TV you possibly caught some malware. A firewall does not protect you from that. A firewall is a network security device. One does not need to "hack your OPNsense" for your PC to get compromised.

I would start investigating what really happened to your devices.

I don't have idea how to protect it. By the way, What is the log tell me?

LAN      2024-12-17T15:58:23   192.168.1.102:49770   165.154.1.118:10001   tcp   Default deny / state violation rule


Quote from: peterwkc on December 17, 2024, 09:00:38 AMI don't have idea how to protect it. By the way, What is the log tell me?

LAN      2024-12-17T15:58:23   192.168.1.102:49770   165.154.1.118:10001   tcp   Default deny / state violation rule
The internal system with IP address 192.168.1.102 sent a TCP packet to the Internet system with IP address 165.154.1.118 (somewhere in Hong Kong, probably) that did not belong to an established connection so the firewall dropped it.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

December 17, 2024, 09:34:20 PM #33 Last Edit: December 18, 2024, 12:23:12 PM by peterwkc
What are the crowdsec block lists you guys talking in this thread??

For the time being, I move my android TV box to opt1 n block the opt1 to lan net

What r the rules need to create for this purpose?

As promised, here is the screenshot.

Quote from: peterwkc on November 27, 2024, 09:23:29 AMMost probably my ISP has hacked my router. (Dont' argue this). 

🤦

I used to know someone who'd make the same sort of absurd claims. He had to reinstall frequently because he kept getting hacked and he was absolutely sure it was *his ISP* doing it. "Don't tell me I'm wrong", he'd exclaim. It turned out he was freaking out and blocking inbound related/established packets, blocking himself from a working internet connection.

Acting without understanding why can be dangerous.

December 28, 2024, 04:02:53 AM #36 Last Edit: December 28, 2024, 04:26:48 AM by peterwkc
Recently my OPNSense reboot randomly. Possible of KVM over IP hack? Is it a hardware based remote access.

How to block/disable this?

December 28, 2024, 09:17:18 AM #37 Last Edit: December 28, 2024, 01:10:34 PM by Patrick M. Hausen
Random reboots are in almost all cases a hardware problem. Check power supply first. Connect a serial console and look what happens when it reboots. Stuff like that.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: meyergru on November 27, 2024, 10:33:09 AMExcuse me for using this german proverb, but do not fall for: "Operative Hektik ersetzt geistige Windstille".

Great proverb, I gotta remember than one :)
Running OPNsense on a Deciso DEC750 with upgraded memory (16GB ECC) and active cooling

December 30, 2024, 06:41:28 AM #39 Last Edit: December 30, 2024, 07:33:50 AM by peterwkc
I discover an article which is Tinypilot where it is a hardware based remote access system which use KVM over IP.

My LAN got mess up where i could not access the gateway anymore. Ping shows drop packet loss. Then, I go reset my opnsense box. After reset my opnsense box, it  reboot after 30 minutes. I believe the hacker has put some backdoor in it n reboot the machine. 

https://homenetworkguy.com/review/remote-system-administration-with-tinypilot-voyager/

If Tinypilot or PiKVM were being used to access your router then I would suggest you walk up to your router and pull out the HDMI and USB cables connecting the physical KVM box which you would see sitting there. Even if it existed, it would need separate access to your network to reach the KVM. It is not magic.
Deciso DEC697

Quote from: passeri on December 30, 2024, 09:19:34 AMIf Tinypilot or PiKVM were being used to access your router then I would suggest you walk up to your router and pull out the HDMI and USB cables connecting the physical KVM box which you would see sitting there. Even if it existed, it would need separate access to your network to reach the KVM. It is not magic.

I understand what you mentioned this technology is not magic. Can you explain how this technology works in term of connectivity?

Sure. PikVM, Tinypilot, are small boxes which physically connect to a target machine using a cable for keyboard (USB) and for the display (usually HDMI). That is, it is physically adjacent and connected to the target machine (your router if it applied to you). It also has a network connection, usually ethernet, to an existing network to which the user already has access using HTTP/HTTPS.

The user of the KVM can be remote, if they have remote network access, but the physical box must be on the site of the target machine.

I use a PiKVM to install 'nix machines, including Opnsense on random hardware, and sometimes to use Linux from my normal Mac desktop or a portable without encumbrance of additional keyboard, mouse or screen.
Deciso DEC697

Quote from: passeri on December 30, 2024, 10:56:10 AMSure. PikVM, Tinypilot, are small boxes which physically connect to a target machine using a cable for keyboard (USB) and for the display (usually HDMI). That is, it is physically adjacent and connected to the target machine (your router if it applied to you). It also has a network connection, usually ethernet, to an existing network to which the user already has access using HTTP/HTTPS.

The user of the KVM can be remote, if they have remote network access, but the physical box must be on the site of the target machine.

I use a PiKVM to install 'nix machines, including Opnsense on random hardware, and sometimes to use Linux from my normal Mac desktop or a portable without encumbrance of additional keyboard, mouse or screen.

Thanks for your clear explanation. AFAIK, It will need tinypilot on my end in order for my ISP to remote access my machine.


That is right. It is what I meant by my "It's not magic" comment, that if you see no physical box attached, then nothing is happening by that means.
Deciso DEC697