Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2024 13:14

General

  • Target

    b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992.exe

  • Size

    229KB

  • MD5

    68502dbaf73be1eca888f78e3b06d55a

  • SHA1

    14654e87e085e07b91535c7e4e8bc5f41ced65e4

  • SHA256

    b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992

  • SHA512

    d87cad3ac8f7f18cb12e63c9bb6a74f29dabf09d5374c64d51ce7a1b3621fd65e454ecf6ff0d0551b80685117b450abf50494b669ad48d5a9906b44e7364d6cb

  • SSDEEP

    3072:+nBlv1nZAbXsdUs0vEJier1K2x5b2CZ/P20DMb9rAn5M23R8Gj7mkg+cmH:+nBXk1fmK+G0DMb9rA6Gj7mkHco

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 2 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.

  • Deletes itself 1 IoCs
  • 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
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992.exe
    "C:\Users\Admin\AppData\Local\Temp\b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hcwuhygx\
      2⤵
        PID:4392
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vhtyvbao.exe" C:\Windows\SysWOW64\hcwuhygx\
        2⤵
          PID:4536
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hcwuhygx binPath= "C:\Windows\SysWOW64\hcwuhygx\vhtyvbao.exe /d\"C:\Users\Admin\AppData\Local\Temp\b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4412
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hcwuhygx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4140
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hcwuhygx
          2⤵
          • Launches sc.exe
          PID:3524
        • 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:1660
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 980 -s 1304
          2⤵
          • Program crash
          PID:4152
      • C:\Windows\SysWOW64\hcwuhygx\vhtyvbao.exe
        C:\Windows\SysWOW64\hcwuhygx\vhtyvbao.exe /d"C:\Users\Admin\AppData\Local\Temp\b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:956
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:3664
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 956 -s 544
          2⤵
          • Program crash
          PID:5000
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 956 -ip 956
        1⤵
          PID:3128
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 980 -ip 980
          1⤵
            PID:3516

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.7MB

            MD5

            d9224d6df98d66104e757e127aea1719

            SHA1

            b28d10cecaa4e03b752052be9618c0098ee63450

            SHA256

            08f0ac8bb6b20d99eee616b4acf4bfd3add299b136f2aa0b977d9cbc35a8548a

            SHA512

            3383aed8f26666f4aedcce107009fa7d1ee3a8eb6c23fb1cd6693678f3274c29dfa71d5f9fc6834429dd500f3d19a153348b4fe66c37e0ce67e6d2d9a049b8df

          • memory/956-15-0x0000000000400000-0x000000000043E000-memory.dmp

            Filesize

            248KB

          • memory/956-8-0x0000000000480000-0x0000000000580000-memory.dmp

            Filesize

            1024KB

          • memory/956-10-0x0000000000400000-0x000000000043E000-memory.dmp

            Filesize

            248KB

          • memory/956-9-0x00000000005C0000-0x00000000005D3000-memory.dmp

            Filesize

            76KB

          • memory/980-2-0x0000000002190000-0x00000000021A3000-memory.dmp

            Filesize

            76KB

          • memory/980-4-0x0000000000400000-0x000000000043E000-memory.dmp

            Filesize

            248KB

          • memory/980-1-0x00000000005F0000-0x00000000006F0000-memory.dmp

            Filesize

            1024KB

          • memory/980-16-0x0000000000400000-0x000000000043E000-memory.dmp

            Filesize

            248KB

          • memory/3664-37-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-52-0x0000000007740000-0x0000000007B4B000-memory.dmp

            Filesize

            4.0MB

          • memory/3664-17-0x0000000000960000-0x0000000000975000-memory.dmp

            Filesize

            84KB

          • memory/3664-18-0x0000000000960000-0x0000000000975000-memory.dmp

            Filesize

            84KB

          • memory/3664-20-0x0000000000960000-0x0000000000975000-memory.dmp

            Filesize

            84KB

          • memory/3664-21-0x0000000002800000-0x0000000002A0F000-memory.dmp

            Filesize

            2.1MB

          • memory/3664-24-0x0000000002800000-0x0000000002A0F000-memory.dmp

            Filesize

            2.1MB

          • memory/3664-25-0x0000000001F10000-0x0000000001F16000-memory.dmp

            Filesize

            24KB

          • memory/3664-28-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-32-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-31-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-11-0x0000000000960000-0x0000000000975000-memory.dmp

            Filesize

            84KB

          • memory/3664-36-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-42-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-41-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-14-0x0000000000960000-0x0000000000975000-memory.dmp

            Filesize

            84KB

          • memory/3664-51-0x0000000001FF0000-0x0000000001FF5000-memory.dmp

            Filesize

            20KB

          • memory/3664-48-0x0000000001FF0000-0x0000000001FF5000-memory.dmp

            Filesize

            20KB

          • memory/3664-47-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-46-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-45-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-44-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-43-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-55-0x0000000007740000-0x0000000007B4B000-memory.dmp

            Filesize

            4.0MB

          • memory/3664-40-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-39-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-56-0x0000000002DD0000-0x0000000002DD7000-memory.dmp

            Filesize

            28KB

          • memory/3664-38-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-35-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-34-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB

          • memory/3664-33-0x0000000001F20000-0x0000000001F30000-memory.dmp

            Filesize

            64KB