IPX replay: observed-at truncates sub-second capture timestamps (ambiguous evidence ordering) #185
Labels
No labels
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/hackmode#185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Reviewed at commit
3b4e2da(filed against the IPX replay introduced in6f40a44, which advances #26).Problem
ipx-object->http-exchange(capture-replay.lispline ~126) sets:observed-at (unix-seconds->starintel-timestring (floor timestamp-start)).mitmproxy writes
timestamp_startas a float epoch with sub-second precision, andduration-ms(line ~127) keeps millisecond precision, so the exchange duration is more precise than the moment it happened.Impact
Suggested fix
Preserve fractional seconds in
observed-at(local-time:unix-to-timestamp accepts a fractional part; format with fractional-second output), or persist the raw float timestamp in the provenance plist. Deterministic ordering of captured evidence matters for recon pipelining and for the Hackpert expert layer consuming the graph.