Analysis

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

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-10-2023 17:22

General

  • Target

    file.exe

  • Size

    244KB

  • MD5

    027fd7f7551f40b72a612f94da41d973

  • SHA1

    2ea4f739bcef8c60408fa47bd641053ae855b236

  • SHA256

    9119602dc4b71bdd06f4152572f2a903c003482a90aa53fedfe36d786c318a4b

  • SHA512

    f45138da44de13e76bddd11ca5779a377c5ae43bc7917380c3b8e8f3af6b896578241eb8d9b460453678eebb926ed822fab247fd52fb1b05c3430d308d6b48d3

  • SSDEEP

    3072:xtXrSmy3Cfw2n8vzb3MEdH+6YCFGOXXB5mpVdm3Hg52B4QwJrYTq:7jNvn83BpFBApSrVwYTq

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.

  • 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 1 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
  • GoLang User-Agent 1 IoCs

    Uses default user-agent string defined by GoLang HTTP packages.

  • Modifies data under HKEY_USERS 6 IoCs
  • Suspicious use of WriteProcessMemory 23 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:4144
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\blrajrka\
      2⤵
        PID:5024
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wqqilvzl.exe" C:\Windows\SysWOW64\blrajrka\
        2⤵
          PID:4256
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create blrajrka binPath= "C:\Windows\SysWOW64\blrajrka\wqqilvzl.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:5116
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description blrajrka "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4000
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start blrajrka
          2⤵
          • Launches sc.exe
          PID:1720
        • 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:800
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4144 -s 1212
          2⤵
          • Program crash
          PID:4388
      • C:\Windows\SysWOW64\blrajrka\wqqilvzl.exe
        C:\Windows\SysWOW64\blrajrka\wqqilvzl.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1884
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:4316
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1884 -s 568
          2⤵
          • Program crash
          PID:5012
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4144 -ip 4144
        1⤵
          PID:2568
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 1884 -ip 1884
          1⤵
            PID:3796

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.0MB

            MD5

            506c3cccf6c6ed97ddc12bb80c6e8e35

            SHA1

            97d316cc7a4c64bf1518ce86c08702a41fc33761

            SHA256

            119d0c4f1ea6ce296eb8915d1347cee8733c5b42a0f222e9c717a94dde3445d4

            SHA512

            5b496facca4d383bd9bf391111dab59013006ac25051a3302ec134fcb7bea8fcbbe67e85e29846ef3d1adac049b3c480dbdf2d8527a7091543a06da858aa4882

          • C:\Windows\SysWOW64\blrajrka\wqqilvzl.exe

            Filesize

            12.0MB

            MD5

            506c3cccf6c6ed97ddc12bb80c6e8e35

            SHA1

            97d316cc7a4c64bf1518ce86c08702a41fc33761

            SHA256

            119d0c4f1ea6ce296eb8915d1347cee8733c5b42a0f222e9c717a94dde3445d4

            SHA512

            5b496facca4d383bd9bf391111dab59013006ac25051a3302ec134fcb7bea8fcbbe67e85e29846ef3d1adac049b3c480dbdf2d8527a7091543a06da858aa4882

          • memory/1884-16-0x0000000000400000-0x000000000044A000-memory.dmp

            Filesize

            296KB

          • memory/1884-10-0x0000000000400000-0x000000000044A000-memory.dmp

            Filesize

            296KB

          • memory/4144-1-0x00000000021B0000-0x00000000021C3000-memory.dmp

            Filesize

            76KB

          • memory/4144-2-0x0000000000400000-0x000000000044A000-memory.dmp

            Filesize

            296KB

          • memory/4144-4-0x0000000000400000-0x000000000044A000-memory.dmp

            Filesize

            296KB

          • memory/4144-7-0x0000000000400000-0x000000000044A000-memory.dmp

            Filesize

            296KB

          • memory/4144-8-0x0000000002190000-0x00000000021A5000-memory.dmp

            Filesize

            84KB

          • memory/4144-9-0x00000000021B0000-0x00000000021C3000-memory.dmp

            Filesize

            76KB

          • memory/4144-0-0x0000000002190000-0x00000000021A5000-memory.dmp

            Filesize

            84KB

          • memory/4316-31-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-37-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-17-0x0000000000B30000-0x0000000000B45000-memory.dmp

            Filesize

            84KB

          • memory/4316-19-0x0000000000B30000-0x0000000000B45000-memory.dmp

            Filesize

            84KB

          • memory/4316-20-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/4316-23-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/4316-24-0x0000000000BF0000-0x0000000000BF6000-memory.dmp

            Filesize

            24KB

          • memory/4316-27-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-30-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-11-0x0000000000B30000-0x0000000000B45000-memory.dmp

            Filesize

            84KB

          • memory/4316-32-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-33-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-34-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-35-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-36-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-15-0x0000000000B30000-0x0000000000B45000-memory.dmp

            Filesize

            84KB

          • memory/4316-38-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-39-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-40-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-41-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-43-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-44-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-42-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-45-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-46-0x0000000002C10000-0x0000000002C20000-memory.dmp

            Filesize

            64KB

          • memory/4316-47-0x0000000002DE0000-0x0000000002DE5000-memory.dmp

            Filesize

            20KB

          • memory/4316-50-0x0000000002DE0000-0x0000000002DE5000-memory.dmp

            Filesize

            20KB

          • memory/4316-51-0x0000000007900000-0x0000000007D0B000-memory.dmp

            Filesize

            4.0MB

          • memory/4316-54-0x0000000007900000-0x0000000007D0B000-memory.dmp

            Filesize

            4.0MB

          • memory/4316-55-0x0000000002DF0000-0x0000000002DF7000-memory.dmp

            Filesize

            28KB