Hunting for SigRed Exploitation
.Between the twitter hack and SigRed, yesterday was a little sporty for us all. I spent the last day hunting for SigRed exploitation in the wild. My dataset is passive DNS, but more on that hunting in a bit. Checkpoint's write up is here for reference. Since this flaw has to do with SIG record processing, it greatly limits the search space to find exploitation.
If you run Microsoft DNS server in your organization (odds are you do), there are a couple of quick detections you can implement. The first is a suricata rule developed by Positive Technologies out of Russia looking for the fingerprints of the a PoC in the query. You can access the rule at their github here. This should detect any response with the exploit in it that is traversing your network regardless of whether you are running Microsoft AD or not.
If you are running Microsoft DNS, by turning on Analytical Logs, you can see requests and responses. This has the advantage of enabling a few DNS hunting techniques which you can read a few about here. Even if the exploit fails (or it succeeds) it appears the exploit SIG record is written to logs. It should be easy to spot as the exploit record is much larger than a normal SIG record.
Passive DNS, as you may know, relies on a sensor that logs all queries and responses and makes those available in a queryable database. Most usage involves finding the history of a domain in terms of IPs it uses, or to find hostnames associated with an IP. However, the sensor logs all queries and responses which make it easy (in theory) to search for "off-protocol" use of DNS. In order for SigRed to work, an attacker has to own a domain to create malicious SIG records and I've been hunting for such usage (unsuccessfully). It's possible to create an IP feed for people making malicious queries, but better to identify the malicious domains instead.
The important feature of passive DNS is that it keeps a historical record. I was interested to see if this attack was used in the wild before the report. One limitation of passive DNS is that it is limited by wear sensors exist and few enterprises, especially interesting ones that are more attractive to APT attacks (the more likely user of this before Checkpoint's report) likely do not have passive DNS sensors near their internal DNS servers and give that information openly. However, in the past I've been able to use passive DNS to rebuild all communications over years of threat actors using DNS exfiltration. This is why it is also important, even if you don't share DNS query logs, that you store this information over a long term
We're maybe a day or so before there is widespread exploitation (if history is any guide), make sure to employ the detections above and write in if you see this occurring in the wild.
--
John Bambenek
bambenek \at\ gmail /dot/ com
ThreatSTOP
Comments
Anonymous
Dec 3rd 2022
9 months ago
Anonymous
Dec 3rd 2022
9 months ago
<a hreaf="https://technolytical.com/">the social network</a> is described as follows because they respect your privacy and keep your data secure. The social networks are not interested in collecting data about you. They don't care about what you're doing, or what you like. They don't want to know who you talk to, or where you go.
<a hreaf="https://technolytical.com/">the social network</a> is not interested in collecting data about you. They don't care about what you're doing, or what you like. They don't want to know who you talk to, or where you go. The social networks only collect the minimum amount of information required for the service that they provide. Your personal information is kept private, and is never shared with other companies without your permission
Anonymous
Dec 26th 2022
8 months ago
Anonymous
Dec 26th 2022
8 months ago
<a hreaf="https://defineprogramming.com/the-public-bathroom-near-me-find-nearest-public-toilet/"> nearest public toilet to me</a>
<a hreaf="https://defineprogramming.com/the-public-bathroom-near-me-find-nearest-public-toilet/"> public bathroom near me</a>
Anonymous
Dec 26th 2022
8 months ago
<a hreaf="https://defineprogramming.com/the-public-bathroom-near-me-find-nearest-public-toilet/"> nearest public toilet to me</a>
<a hreaf="https://defineprogramming.com/the-public-bathroom-near-me-find-nearest-public-toilet/"> public bathroom near me</a>
Anonymous
Dec 26th 2022
8 months ago
Anonymous
Dec 26th 2022
8 months ago
https://defineprogramming.com/
Dec 26th 2022
8 months ago
distribute malware. Even if the URL listed on the ad shows a legitimate website, subsequent ad traffic can easily lead to a fake page. Different types of malware are distributed in this manner. I've seen IcedID (Bokbot), Gozi/ISFB, and various information stealers distributed through fake software websites that were provided through Google ad traffic. I submitted malicious files from this example to VirusTotal and found a low rate of detection, with some files not showing as malware at all. Additionally, domains associated with this infection frequently change. That might make it hard to detect.
https://clickercounter.org/
https://defineprogramming.com/
Dec 26th 2022
8 months ago
rthrth
Jan 2nd 2023
8 months ago