Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.65 KB

File metadata and controls

49 lines (36 loc) · 1.65 KB
id 20771f28-bfbe-4b0b-b353-2ad9af46099d
name .NET-Serialized-Object-Example
type code
language text
verified true
created_at 2023-04-06T03:55:59.063608+00:00
updated_at 2023-04-06T03:55:59.066662+00:00
platforms
Windows
tags
.net
serialization
ioc
validated true

.NET-Serialized-Object-Example

Code

AAEAAAD/////AQAAAAAAAAAMAgAAAF9TeXN0ZW0u[...]0KPC9PYmpzPgs=

Description

This is a sample base64-encoded .NET serialized object, often used as an indicator of compromise (IOC) in detection procedures. It represents a binary serialized payload that could contain embedded malicious code, such as a gadget chain for deserialization attacks. Use this pattern to search files or network captures for similar structures.

Parameters

Variable Description Example
None This is a static example string; no variables to substitute N/A

Usage

Embed this in detection rules (e.g., YARA signatures or regex searches) to identify serialized objects in files (.dat, .bin, .ser) or traffic. In the [[procedures/Detect-.NET-Serialization-Attacks]] procedure, reference it as a pattern in file scans to flag potential attack artifacts. Decode with tools like ysoserial.net for analysis, but avoid deserializing untrusted samples.

Detection

  • Search for the header 'AAEAAAD' in binary files or base64 traffic.
  • Monitor for deserialization errors in .NET app logs.
  • Use EDR tools to alert on processes accessing serialization libraries with this pattern.

Related

  • [[procedures/Detect-.NET-Serialization-Attacks]]
  • [[techniques/Software Discovery|T1518 - Software Discovery]]