Ayush Anand (@Securityinbits) header
Ayush Anand (@Securityinbits) profile picture

Detection engineering, threat hunting, malware analysis. One defender bit at a time.

Join for free →
Joined September 2015
Photo by Ayush Anand (@Securityinbits)Photo by Ayush Anand (@Securityinbits)Photo by Ayush Anand (@Securityinbits)Photo by Ayush Anand (@Securityinbits)Photo by Ayush Anand (@Securityinbits)Photo by Ayush Anand (@Securityinbits)Photo by Ayush Anand (@Securityinbits)Photo by Ayush Anand (@Securityinbits)Photo by Ayush Anand (@Securityinbits)Photo by Ayush Anand (@Securityinbits)
Every KQL query you practice on is deleted after 30 days. This free cluster keeps it: 8 Defender tables from a real AnyDesk lab intrusion, one paste, row counts to prove it loaded.
7
1
21
5,212
You can't see what runs over an SSH tunnel. The command line stops at ssh.exe -R. But correlate DeviceProcessEvents with DeviceNetworkEvents, and the sweep gives itself away. High distinct IPs and ports, failures spiking past successes. KQL + ES|QL queries, regex and all, are ready to paste. 👇
1
1
1
68
The summarize counts distinct RemoteIPs, RemotePorts, successes, and failures per command line. The -R line also carries the forwarded IP. Pivot on it to check whether it's a known attacker host.
1
13
Ayush Anand retweeted
You saw ssh.exe with -R and filed it as admin activity. The Akira ransomware gang ran almost that exact command to turn a host into a SOCKS proxy. The command line never changes after that. The tunnel is opaque, not silent. Hunt its shape: newsletter.securityinbits.co…
1
3
383
Ayush Anand retweeted
nltest, whoami /groups, net group. Three Low alerts your SOC closes one by one as admin noise. In a short burst on one host, they're the pre-ransomware discovery phase. Sigma in Elastic, then the pivot to process ancestry: youtu.be/4xpP2yLYNoE
2
7
432
nltest, whoami /groups, net group. Three Low alerts your SOC closes one by one as admin noise. In a short burst on one host, they're the pre-ransomware discovery phase. Sigma in Elastic, then the pivot to process ancestry: youtu.be/4xpP2yLYNoE
2
7
432
You saw ssh.exe with -R and filed it as admin activity. The Akira ransomware gang ran almost that exact command to turn a host into a SOCKS proxy. The command line never changes after that. The tunnel is opaque, not silent. Hunt its shape: newsletter.securityinbits.co…
1
3
383
My AI agent lives inside my lab. It has its own always-on VM on the same Proxmox box, next to the lab it controls: - starts and snapshots the lab VMs - runs commands on the hosts - pulls the telemetry from Elastic and MDE I run the attack, it back-fills the timeline. Every detection still gets my review.
1
10
573
Ayush Anand retweeted
Can I show you what happens when you throw ARTEX at a network with MDE deployed? > It gets the shit kicked out of it! (MDE goes BRRRR) > not only that but the perimeter IPS catches stuff! Now... if we have ALL the variables in place.... could we make something that 'works'? Sure.... because infinite monkeys.... but networks aren't infinite monkeys... I've just got a SHELL working (where the IPS didn't block it) I've had to unblock identities and devices A LOT! so far in my testing: > THROW ARTEX at something that isn't DEFENDED and guess what... IT WINS! > THROW it at a DEFENDED network... guess what? the blue team wins!
I've been testing LLMs and using them to help with security tasks etc. for over a year now..... I'm not even sure how long.... Everything I'm seeing here broadly is: they are really good CO-PILOTS they aren't so great for just letting them run off and attack shit.... because they create a mess. they are noisy, they get caught, machines get isolated (if you have a decent posture) I'm struggling to be amazed...... impressed...... I dunno gang, the hype people give vs what I see on actual systems (and from incident intelligence)... if you run these against a system with shit posture they will TRASH it... sure! congrats!
21
45
9
300
48,121
Ever seen HFULOption on an Uninstall key? It is HideUL's fingerprint. This Sordum freeware hides an RMM from Programs and Features. @HuntressLabs sees it renamed too. Two of my ScreenConnect detonations ran it. I re-ran the operator's copy: - Hide: SystemComponent = 1 + HFULOption = 37 - Block Uninstall: adds NoRemove = 1 - Renamed to notes.exe: same 37 Hunt the value, not the filename.
1
4
9
813
Two signed ScreenConnect clients on one host, each calling a different relay. I hunted both with Claude Code on real lab telemetry, KQL and ES|QL side by side. youtu.be/JBEj3hSuWng KQL runs on an ADX archive of Defender telemetry; ES|QL runs in Elastic. Claude runs part of the hunt. I check every row and investigate the relays by hand.
2
10
1,077
4,153 process events. 8,082 network events. 37,827 file events. One lab day of Defender telemetry, and an AnyDesk intrusion on two hosts is somewhere in it. The next X Article turns it into a hunt: five things to find, easy to hard. The free ADX setup behind that data is in the Article.
Every KQL query you practice on is deleted after 30 days. This free cluster keeps it: 8 Defender tables from a real AnyDesk lab intrusion, one paste, row counts to prove it loaded.
8
38
1,794
Ayush Anand retweeted
I'm doing the thing until I can convince people that focusing on whether or not AI is being used in intrusions is a waste of time. What will be figured out is that virtually every cyber threat is using AI, because AI these days is as generally available as the internet. Imagine back when the requirement was "threats using the internet." AI isn't an emerging threat anymore. It's the norm.
6
16
5
91
11,228
Working on a YouTube video, out this Saturday: my Claude Code hunting workflow on an RMM abuse case. Two validly signed ScreenConnect clients on one lab host. One got the attacker in. The other is the one they kept. Claude Code runs the first pass in KQL and ES|QL. I validate every row. youtube.com/@Securityinbits
1
1
6
537
You don't need to ingest a CSV to test a KQL detection on it. Give the CSV the real table's name with one let line: let DeviceProcessEvents = externaldata(...) Your query runs on the file unchanged. Read-only, nothing loaded. I ran my 6 AnyDesk hunt queries on a public lab bundle this way. All 6 returned rows.
Every KQL query you practice on is deleted after 30 days. This free cluster keeps it: 8 Defender tables from a real AnyDesk lab intrusion, one paste, row counts to prove it loaded.
9
36
2,274
Ayush Anand retweeted
Every KQL query you practice on is deleted after 30 days. This free cluster keeps it: 8 Defender tables from a real AnyDesk lab intrusion, one paste, row counts to prove it loaded.
7
1
21
5,212
I have observed more ARTEX servers than Cobalt Strike and all other C2 frameworks combined. I have also seen new/not publicly detected AI-generated C2 frameworks already being used by threat actors. Almost 2,200 servers are running ARTEX, and that only counts those with exposed default admin panels. There are many more instances where the admin panel is hidden, disabled or modified.
🤖 Made with AI
11
36
4
241
18,530
Microsoft gives anyone with a Microsoft account a free Azure Data Explorer cluster. No subscription, no credit card, full KQL. Mine took under 2 minutes to create. aka.ms/kustofree
2
7
1
39
2,653
An attacker installed ScreenConnect, then hid it from Programs and Features with one registry value. SystemComponent = 1 on its Uninstall key. - Service: running - Programs and Features: no ScreenConnect Sweep both HKLM Uninstall hives (incl. WOW6432Node) for SystemComponent = 1 and read the DisplayName. Installers hide sub-components this way too. A hidden RMM client is not one of them.
6
19
1,210