Analysis

  • max time kernel
    165s
  • max time network
    169s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/12/2023, 21:32

General

  • Target
    048103a4210a2f0e08ed83b61a333560.exe
  • Size 13.4MB
  • Sample231229-1dn6qahch8
  • SHA256 589b440546de5c009e919895ec19b01f3d5961229af8ce1038ed48deb8990839
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.7

  • lazystax.ru

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.

  • 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\048103a4210a2f0e08ed83b61a333560.exe
    "C:\Users\Admin\AppData\Local\Temp\048103a4210a2f0e08ed83b61a333560.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1964
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vlqwldvr\
      2⤵
        PID:1796
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pgomwrym.exe" C:\Windows\SysWOW64\vlqwldvr\
        2⤵
          PID:3648
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create vlqwldvr binPath= "C:\Windows\SysWOW64\vlqwldvr\pgomwrym.exe /d\"C:\Users\Admin\AppData\Local\Temp\048103a4210a2f0e08ed83b61a333560.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4616
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description vlqwldvr "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1356
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start vlqwldvr
          2⤵
          • Launches sc.exe
          PID:4384
        • 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:1708
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1964 -s 1040
          2⤵
          • Program crash
          PID:2980
      • C:\Windows\SysWOW64\vlqwldvr\pgomwrym.exe
        C:\Windows\SysWOW64\vlqwldvr\pgomwrym.exe /d"C:\Users\Admin\AppData\Local\Temp\048103a4210a2f0e08ed83b61a333560.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4612
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:620
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4612 -s 512
          2⤵
          • Program crash
          PID:3572
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1964 -ip 1964
        1⤵
          PID:3092
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 4612 -ip 4612
          1⤵
            PID:4980

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                pgomwrym.exe

                • Path C:\Users\Admin\AppData\Local\Temp\pgomwrym.exe
                • Size 489KB
                • SHA256 1192afea1bbe4d3986521f7ecaaaa52bab963b34752f5202a0257186a6d60cda
                • MD5 SHA1 SHA512 SSDEEP

                pgomwrym.exe

                • Path C:\Windows\SysWOW64\vlqwldvr\pgomwrym.exe
                • Size 1.2MB
                • SHA256 1fc19d995786dcf3477c1b2943504047e9d666b36ef05caffb14ab002f543986
                • MD5 SHA1 SHA512 SSDEEP

                memory/620-15-0x0000000000390000-0x00000000003A5000-memory.dmp

                memory/620-17-0x0000000000390000-0x00000000003A5000-memory.dmp

                memory/620-9-0x0000000000390000-0x00000000003A5000-memory.dmp

                memory/620-13-0x0000000000390000-0x00000000003A5000-memory.dmp

                memory/620-16-0x0000000000390000-0x00000000003A5000-memory.dmp

                memory/1964-2-0x0000000004ED0000-0x0000000004EE3000-memory.dmp

                memory/1964-1-0x0000000005080000-0x0000000005180000-memory.dmp

                memory/1964-12-0x0000000000400000-0x0000000004DB8000-memory.dmp

                memory/4612-7-0x0000000004FF0000-0x00000000050F0000-memory.dmp

                memory/4612-14-0x0000000000400000-0x0000000004DB8000-memory.dmp

                memory/4612-8-0x0000000004E00000-0x0000000004E13000-memory.dmp