Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/12/2023, 02:34

General

  • Target
    0bcfea1fc56a9a1e848ec7f654f63ab0.exe
  • Size 14.5MB
  • Sample231230-c2jddaffg5
  • SHA256 e3a865793575dddcdb926aee82c24accb320862e047141baf615e77e0a511f95
  • 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\0bcfea1fc56a9a1e848ec7f654f63ab0.exe
    "C:\Users\Admin\AppData\Local\Temp\0bcfea1fc56a9a1e848ec7f654f63ab0.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xpmggtgv\
      2⤵
        PID:3700
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gbfxnyay.exe" C:\Windows\SysWOW64\xpmggtgv\
        2⤵
          PID:224
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xpmggtgv binPath= "C:\Windows\SysWOW64\xpmggtgv\gbfxnyay.exe /d\"C:\Users\Admin\AppData\Local\Temp\0bcfea1fc56a9a1e848ec7f654f63ab0.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4328
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xpmggtgv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:116
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xpmggtgv
          2⤵
          • Launches sc.exe
          PID:3644
        • 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:3660
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3004 -s 1272
          2⤵
          • Program crash
          PID:3604
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3004 -ip 3004
        1⤵
          PID:4240
        • C:\Windows\SysWOW64\xpmggtgv\gbfxnyay.exe
          C:\Windows\SysWOW64\xpmggtgv\gbfxnyay.exe /d"C:\Users\Admin\AppData\Local\Temp\0bcfea1fc56a9a1e848ec7f654f63ab0.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:5040
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe
            2⤵
            • Sets service image path in registry
            • Deletes itself
            PID:5000
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 5040 -s 516
            2⤵
            • Program crash
            PID:4324
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 5040 -ip 5040
          1⤵
            PID:2916

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                gbfxnyay.exe

                • Path C:\Users\Admin\AppData\Local\Temp\gbfxnyay.exe
                • Size 356KB
                • SHA256 34348f1fd6d9e26c172123bba881b0257444103570162c459ca953bde5283b46
                • MD5 SHA1 SHA512 SSDEEP

                gbfxnyay.exe

                • Path C:\Windows\SysWOW64\xpmggtgv\gbfxnyay.exe
                • Size 810KB
                • SHA256 c7d8851e10e12186312024ba52d80693bb8e9d5e1ee5ea6a33ce06cb1f9f2cd1
                • MD5 SHA1 SHA512 SSDEEP

                memory/3004-11-0x0000000003460000-0x0000000003473000-memory.dmp

                memory/3004-12-0x0000000000400000-0x0000000003348000-memory.dmp

                memory/3004-6-0x0000000000400000-0x0000000003348000-memory.dmp

                memory/3004-7-0x0000000000400000-0x0000000003348000-memory.dmp

                memory/3004-3-0x0000000003460000-0x0000000003473000-memory.dmp

                memory/3004-10-0x0000000003670000-0x0000000003770000-memory.dmp

                memory/3004-0-0x0000000000400000-0x0000000003348000-memory.dmp

                memory/3004-5-0x0000000000400000-0x0000000003348000-memory.dmp

                memory/3004-2-0x0000000003670000-0x0000000003770000-memory.dmp

                memory/5000-19-0x0000000000700000-0x0000000000715000-memory.dmp

                memory/5000-25-0x0000000000700000-0x0000000000715000-memory.dmp

                memory/5000-30-0x0000000000700000-0x0000000000715000-memory.dmp

                memory/5000-31-0x0000000000700000-0x0000000000715000-memory.dmp

                memory/5040-23-0x00000000035A0000-0x00000000036A0000-memory.dmp

                memory/5040-22-0x0000000000400000-0x0000000003348000-memory.dmp