Skip to content

Commit

Permalink
Merge pull request #208 from Yamato-Security/207-fix-logon-timeline-c…
Browse files Browse the repository at this point in the history
…olumn

fix: `timeline-logon` output column(`SourceIP` and `SourceComputer`)
  • Loading branch information
YamatoSecurity authored Oct 31, 2024
2 parents bb6753b + 09dff2a commit 2732c09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
./hayabusa-${LATEST_VER#v}-lin-x64-gnu json-timeline -d ../../hayabusa-sample-evtx -L -w -p super-verbose -o ../../takajo/timeline.jsonl
- name: run extract-credentials
run: cd takajo && ./takajo eextract-credentials -t timeline.jsonl -o credentials.csv
run: cd takajo && ./takajo extract-credentials -t timeline.jsonl -o credentials.csv

- name: run extract-scriptblocks
run: cd takajo && ./takajo extract-scriptblocks -t timeline.jsonl
Expand Down
4 changes: 2 additions & 2 deletions src/takajopkg/timelineLogon.nim
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ method analyze*(self: TimelineLogonCmd, x: HayabusaJson) =
singleResultTable["TargetUser"] = details.extractStr("TgtUser")
let impersonationLevel = extraFieldInfo.extractStr("ImpersonationLevel")
singleResultTable["Impersonation"] = impersonationLevelIdToName(impersonationLevel)
singleResultTable["SourceIP"] = details.extractStr("SrcComp")
singleResultTable["SourceIP"] = details.extractStr("SrcIP")
singleResultTable["Process"] = details.extractStr("LogonProcessName")
singleResultTable["LID"] = details.extractStr("LID")
singleResultTable["LGUID"] = extraFieldInfo.extractStr("LogonGuid")
singleResultTable["SourceComputer"] = details.extractStr("SrcIP")
singleResultTable["SourceComputer"] = details.extractStr("SrcComp")
let elevatedToken = extraFieldInfo.extractStr("ElevatedToken")
singleResultTable["ElevatedToken"] = elevatedTokenIdToName(elevatedToken)
singleResultTable["TargetUserSID"] = extraFieldInfo.extractStr("TargetUserSid")
Expand Down

0 comments on commit 2732c09

Please sign in to comment.