.\hayabusa-3.1.1-win-x64.exe csv-timeline -d "(directory path log berada)" -o "(directory penyimpanan untuk output csv nya)" -H "(directory penyimpanan untuk output html mya)"
2. Jika file corrupt via Hayabusa, bisa menggunakan Evetxcmd (sesuaikan jam yang ada di powershell atau cmd)
EvtxECmd.exe -f "(Directory path log nya berada)"--csv "(directory penyimpanan output csv nya)"
EvtxECmd.exe -f "$source\Application.evtx" --csv "(Directory penyimpanan untuk csv)" --csvf app_tvn.csv --providers "tvnserver"
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force
$source="(Folder dimana logs nya tersimpan)" Get-WinEvent -FilterHashtable @{ Path="$source\Security.evtx"; Id=4624 } | Group-Object { $_.Properties[8].Value } | Select Count, Name
Get-WinEvent -FilterHashtable @{ Path="$source\Security.evtx"; Id=4624 } | Where-Object { $.Properties[8].Value -in 2,3 } | Select TimeCreated, @{Name='LogonType';Expression={$.Properties[8].Value}}, @{Name='Account';Expression={$.Properties[5].Value}}, @{Name='SourceIP';Expression={$.Properties[18].Value}}
Get-WinEvent -FilterHashtable @{ Path="$source\Security.evtx"; Id=4625 } | Group-Object { $_.Properties[19].Value } | Sort Count -Descending | Select Count, Name
Get-WinEvent -Path "$source\System.evtx" | Select-Object TimeCreated, Id, ProviderName,Message| Sort-Object TimeCreated |Export-Csv -Path ".\system.csv" -NoTypeInformation
Get-WinEvent -Path "$source\Application.evtx" | Select-Object TimeCreated, Id, ProviderName,Message| Sort-Object TimeCreated |Export-Csv -Path ".\app.csv" -NoTypeInformation
Get-ChildItem -Recurse -Filter passwd Get-ChildItem -Recurse -Path . -Include user,passwd