Urgent.News

What's breaking now, across thousands of outlets.

Tech

First Action After Compromise: Blind the Audit

✓ Human-authored analysis; AI used for formatting and proofreading. If you're an attacker who's just landed in an AWS account, the most expensive thing about your future is detection. Every API call you make leaves a trail in CloudTrail, gets forwarded to a SIEM, becomes evidence the team uses to boot you out and reconstruct what you touched. The cost of your campaign rises linearly with the…

When an attacker gains unauthorized access to an AWS account, their actions are often detected through CloudTrail logs, which are then forwarded to a SIEM for monitoring and evidence collection. To evade detection, attackers can temporarily disable the audit trail by stopping the logging of events, effectively blinding the investigation.

This can be achieved by executing the command "aws cloudtrail stop-logging --name org-audit-trail," which stops the CloudTrail trail from recording new events. The audit trail remains configured, but the IsLogging field in the trail status indicates that it is currently set to false. This action allows the attacker to perform various malicious activities without leaving a trace in the audit logs, such as credential exfiltration, creating persistent access, and rewriting evidence.

The absence of CloudTrail events makes it difficult for investigators to determine the attacker's actions during the blind window, which can last for several days. This technique is well-known and documented in various incident response guides and penetration testing reports. To detect this tactic, security teams need to monitor the cloudtrail:StopLogging API call and check the IsLogging boolean status of each trail.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

A calendar library returned the same answer for every year — and my tests agreed with it

I build a Korean saju (BaZi) service. The whole pitch is that the numbers are computed deterministically and only the prose is written by a model, so the calculation layer is the one part that is not…

  • Calendar library returned same answer for every year
  • Independent astronomical computation provided eleven different results
  • Test suite passed all tests despite incorrect library output

What 'Revocable' Actually Means at the Contract Level

If you've ever called approve() on an ERC-20 token and then moved on with your life, you've already brushed up against the thing this post is about: an approval is not a setting inside some app, it's…

  • Revocation removes user authorization to spend tokens.
  • Revocation involves a transaction setting allowance to zero.
  • Verifying allowance on chain prevents stale-permissive issues.

Pull Requests and code review: how to make your code easy to review

I once approved a PR without reading it. Not because I was lazy — because the description was blank, the title was "fix", and the diff had six hundred lines across eleven files with no explanation of…

  • Clear PR title indicates action in imperative mood
  • Description answers why, what, and testing instructions
  • Break down large features into smaller, focused PRs

More from Tuesday 1 September →