Executive Guardian
Your organization’s leadership is 12 times more likely to be the target of a security incident and nine times more likely to be the target of a data breach than they were last year. Find out how they can be protected.
Read the Datasheet
Gift Cardsharks: The Massive Threat Campaigns Circling Beneath the Surface
Learn about the attack group primarily targeting gift card retailers and the monetization techniques they use.
Get the Report
Threat Hunting Workshop Series
Join one of our security threat hunting workshops to get hands-on experience investigating and remediating threats.
Attend an Upcoming Workshop
Inside Magecart: New RiskIQ & Flashpoint Research Report
Learn about the groups and criminal underworld behind the front-page breaches.
Threat Hunting Guide: 3 Must-Haves for the Effective Modern Threat Hunter
The threat hunting landscape is constantly evolving. Learn the techniques, tactics, and tools needed to become a highly-effective threat hunter.
Previously, I have written on the use of PassiveTotal for identifying infrastructure associated with malicious or fraudulent behavior. In this week’s post, I’ll focus on a vital component of that investigation, using page sequences to detect digital threats.
To identify patterns of behavior and develop rule-based detections of digital threats or carry out in-depth threat infrastructure investigation, we must move up or down through the sequence of pages that lead to the particular behavior that first caught our attention. RiskIQ’s network of crawlers, sensors, and proxy users emulates human users with a fully instrumented browser to store the entire chain of events that may have lead to a digital threat, such as a redirection leading to a page serving malware. With this information, security teams can reconstruct an event and what led to it—just like a detective might do at a crime scene.
Typically, we find multiple distinct behaviors we can flag throughout a sequence of pages. This week, we’ll look at a crawl associated with RIG exploit kit and examine the different components and detections throughout the sequence of pages captured within the crawl.
Fig-1 RIG blacklist incident
Fig-2 RIG Sequence
Above, we have a blacklist incident as well as the captured sequence resulting in the RIG exploit kit landing page. The topglaze.com[dot]au* domain contains an iframe which redirects to the malware page we detected and blacklisted.
Fig-3 This iframe is sending traffic to the malware page.
The response body of the malware page at art.WEIGHTCOACHMD[dot]NET, captured by RiskIQ’s crawlers, contains particular constructions (seen below) we can use to flag the page via detection logic:
Fig-4 Malware page response body.
But, bad actors intermittently change how these pages are constructed or create new variants, requiring us to tweak or create new logic to continue detecting malicious behavior. One way to counter these changes is to move up the sequence and examine other, more recent crawls involving the pages we have seen leading to malware. Like a detective trying to pinpoint a perpetrator, we look for common clues that are present at the scenes of similar crimes. In this case, that means looking for new RIG pages downstream from the script-injected ‘topglaze’ domain.
Fig-5 RIG Sequence
Above, we have another sequence captured more recently than our initial detection. As you can see, the ‘topglaze’ domain is still script injected but is now leading to a different address with a similar URI pattern to the previous malware page. Looking at the response body of this new page reveals an entirely different construction than the previously detected page.
Fig-6 RIG bot filter pre-landing page.
This page is intended to act as a bot filter in between the compromised ‘topglaze’ page and the actual RIG landing page. Without the ability to easily identify sequential relationships such as that between ‘topglaze’ and RIG exploit kit pages, we would not be able to find and write detection logic for new behaviors such as this nearly as quickly or efficiently.
By breaking down these page sequences, we’re able to analyze the anatomy of a digital threat and better understand how they change over time, allowing us to be nimble when changes do occur and maximize our ability to detect malicious behavior.
*Top Glaze Roofing Systems was notified that their site has been compromised
RiskIQFollow
RiskIQ is the leader in attack surface management. We help organizations discover, understand, and mitigate exposures across all digital channels.
We're absolutely thrilled to announce our partnership with @RiskIQ - the leaders in attack surface management. Find out how we can support you and help you to combat threats: https://bit.ly/3guUjpq #FiveYearsOut #Security https://twitter.com/RiskIQ/status/1280154794569740289
RiskIQ is thrilled to announce a partnership with @ArrowECSANZ providing comprehensive discovery, intelligence, and mitigation of digital threats for organizations across Australia and New Zealand. Read more here: https://bit.ly/2C3EjMd
Over 10,000 #JavaScript threats like #Magecart hit the digital enterprise in the last three months. Never miss a code change that could indicate an attack with intelligent, automated detection. https://bit.ly/2WfWd6d
Our Analysis of an Attack Surface data report found 28 insecure login forms per organization on average. The digital attack surface is only getting bigger and with more fragile access. Get all the insights here: https://bit.ly/3cOzJ0T
Overnight, #COVID19 decentralized the workforce. Security gaps widened, protocols changed, and attackers gained more access points. Complacency is not an option. Start checking boxes on the essential checklist for securing your suddenly remote business: https://bit.ly/2UETbpN
#CISOs are being called upon to do more than just defend the enterprise. The c-suite is asking bigger questions and demanding unprecedented levels of context around security issues. Security leaders who can't provide the answers won't last. http://bit.ly/2BXj1jr