Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/02/2024, 17:01

General

  • Target
    a9b14697b3b40f1c18fe966196728673.exe
  • Size 10.9MB
  • Sample240227-vjkslaee83
  • SHA256 fff317394bef4b1ab9b56e4800937ba2fae0a86246655b4a965bfc3bb69db40d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

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
  • 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
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\a9b14697b3b40f1c18fe966196728673.exe
    "C:\Users\Admin\AppData\Local\Temp\a9b14697b3b40f1c18fe966196728673.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\irjhhidy\
      2⤵
        PID:4268
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gyhpmzlf.exe" C:\Windows\SysWOW64\irjhhidy\
        2⤵
          PID:3408
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create irjhhidy binPath= "C:\Windows\SysWOW64\irjhhidy\gyhpmzlf.exe /d\"C:\Users\Admin\AppData\Local\Temp\a9b14697b3b40f1c18fe966196728673.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3620
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description irjhhidy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2536
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start irjhhidy
          2⤵
          • Launches sc.exe
          PID:2560
        • 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:316
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1076 -s 1036
          2⤵
          • Program crash
          PID:4580
      • C:\Windows\SysWOW64\irjhhidy\gyhpmzlf.exe
        C:\Windows\SysWOW64\irjhhidy\gyhpmzlf.exe /d"C:\Users\Admin\AppData\Local\Temp\a9b14697b3b40f1c18fe966196728673.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5004
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3372
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5004 -s 520
          2⤵
          • Program crash
          PID:2360
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1076 -ip 1076
        1⤵
          PID:4916
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 5004 -ip 5004
          1⤵
            PID:3512

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                gyhpmzlf.exe

                • Path C:\Users\Admin\AppData\Local\Temp\gyhpmzlf.exe
                • Size 12.9MB
                • SHA256 1d0ceeef43fb8b68e86d6f6fddf57b56629f35873f024073bb42730fff658cc9
                • MD5 SHA1 SHA512 SSDEEP

                gyhpmzlf.exe

                • Path C:\Windows\SysWOW64\irjhhidy\gyhpmzlf.exe
                • Size 7.8MB
                • SHA256 c8465ddc4e46bd1d9afd6617fe96cacee09749425312df3310033e0d1d1c5257
                • MD5 SHA1 SHA512 SSDEEP

                memory/1076-9-0x0000000002D40000-0x0000000002D53000-memory.dmp

                memory/1076-4-0x0000000000400000-0x0000000002C6D000-memory.dmp

                memory/1076-2-0x0000000002D40000-0x0000000002D53000-memory.dmp

                memory/1076-8-0x0000000000400000-0x0000000002C6D000-memory.dmp

                memory/1076-1-0x0000000002D80000-0x0000000002E80000-memory.dmp

                memory/3372-11-0x00000000009D0000-0x00000000009E5000-memory.dmp

                memory/3372-14-0x00000000009D0000-0x00000000009E5000-memory.dmp

                memory/3372-16-0x00000000009D0000-0x00000000009E5000-memory.dmp

                memory/3372-18-0x00000000009D0000-0x00000000009E5000-memory.dmp

                memory/3372-19-0x00000000009D0000-0x00000000009E5000-memory.dmp

                memory/5004-10-0x0000000002F80000-0x0000000003080000-memory.dmp

                memory/5004-17-0x0000000000400000-0x0000000002C6D000-memory.dmp