[session 1] fix(aria): drop unclassified INFO events at ingest (threat_event flood, #12) #13
Reference in New Issue
Block a user
Delete Branch "fix/12-drop-unclassified-info-events"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Session: 1
Fixes the ARIA
threat_eventflood from #12.Root cause
Agents send the bare Windows event id
signalKey="4663". The classifier only matches"EVENT_4663", so"4663"falls into thedefaultbranch →INFO, no attack phase, no IOC. These events:SequenceDetectionServicefilters out null-phase events and requires aPHYSICAL_ACCESSphase).So they carry zero detection value yet bloated
threat_eventto 68M rows / 14 GB in 37 days.Change
ThreatEventIngestionServicenow drops events that classify as INFO with no matched IOC and no attack phase beforesave()(and before sequence detection), with a periodic count log so volume stays visible. Anything with any detection value — elevated severity, an IOC match, or an attack phase — is unaffected.aria.ingest.drop-unclassified-info(envARIA_DROP_UNCLASSIFIED_INFO, defaulttrue). Setfalseto restore prior behaviour.ThreatEventClassifierTest(4 tests) pinning the noise signature: bare4663and unknown signals = noise (dropped);EVENT_4663(HIGH/MALWARE_STAGING) andDOOR_OPEN(MEDIUM/PHYSICAL_ACCESS) = kept.Verification
mvn testgreen locally (4/4).4663event (expect not persisted) and a real signal (expect persisted).Notes
Refs #12