Analysis

  • max time kernel
    148s
  • max time network
    127s
  • 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 18:18

General

  • Target

    f66228c86c71f368179321b0c382b638_JaffaCakes118.exe

  • Size

    13.8MB

  • MD5

    f66228c86c71f368179321b0c382b638

  • SHA1

    80721fc9d9609b198517f81f09ef281e110cd7f7

  • SHA256

    02892e399fd7adc46318f48866a653013e7f70b15da1e174d405617fa6fdd816

  • SHA512

    145d0dcefebdaf7dae83ecffe66d4857ec4cea9e863b8d21f8f28fa114f376d05b7774b3184907805a6039bd0dc05042b972ead4163b3d3b3b4e990544f22998

  • SSDEEP

    98304:Pjhd88888888888888888888888888888888888888888888888888888888888Q:P

Malware Config

Extracted

Family

tofsee

C2

176.111.174.19

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 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\f66228c86c71f368179321b0c382b638_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f66228c86c71f368179321b0c382b638_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lwnuyekc\
      2⤵
        PID:1928
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pwgmokpo.exe" C:\Windows\SysWOW64\lwnuyekc\
        2⤵
          PID:2476
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lwnuyekc binPath= "C:\Windows\SysWOW64\lwnuyekc\pwgmokpo.exe /d\"C:\Users\Admin\AppData\Local\Temp\f66228c86c71f368179321b0c382b638_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1192
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lwnuyekc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3856
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lwnuyekc
          2⤵
          • Launches sc.exe
          PID:4652
        • 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:1012
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1628 -s 664
          2⤵
          • Program crash
          PID:3008
      • C:\Windows\SysWOW64\lwnuyekc\pwgmokpo.exe
        C:\Windows\SysWOW64\lwnuyekc\pwgmokpo.exe /d"C:\Users\Admin\AppData\Local\Temp\f66228c86c71f368179321b0c382b638_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3580
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2148
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3580 -s 520
          2⤵
          • Program crash
          PID:3988
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 1628 -ip 1628
        1⤵
          PID:2708
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 3580 -ip 3580
          1⤵
            PID:3972

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.6MB

            MD5

            9973e3782eb7150e65762a154858e205

            SHA1

            921c0398f56e7250cf1576d3dae121126777afaf

            SHA256

            b14eb57571abb883500fdbcfa5f2a6e4b5bae820b39dc460bc0ef36c54c5dedb

            SHA512

            16d00e72c1fd2bbb668c8d6871327d9a5c1db1b8ce5ecc95480dab37be95481262fcb40a733eef1ab92828d3d44aa092dee2617c686dd35e9a00e5bc8ae6ad8d

          • memory/1628-1-0x0000000000760000-0x0000000000860000-memory.dmp

            Filesize

            1024KB

          • memory/1628-4-0x0000000000400000-0x000000000045D000-memory.dmp

            Filesize

            372KB

          • memory/1628-7-0x0000000000400000-0x000000000045D000-memory.dmp

            Filesize

            372KB

          • memory/1628-8-0x00000000006D0000-0x00000000006E3000-memory.dmp

            Filesize

            76KB

          • memory/1628-2-0x00000000006D0000-0x00000000006E3000-memory.dmp

            Filesize

            76KB

          • memory/2148-12-0x0000000000B30000-0x0000000000B45000-memory.dmp

            Filesize

            84KB

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

            Filesize

            84KB

          • memory/2148-18-0x0000000000B30000-0x0000000000B45000-memory.dmp

            Filesize

            84KB

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

            Filesize

            84KB

          • memory/2148-16-0x0000000000B30000-0x0000000000B45000-memory.dmp

            Filesize

            84KB

          • memory/3580-11-0x0000000000400000-0x000000000045D000-memory.dmp

            Filesize

            372KB

          • memory/3580-10-0x0000000000570000-0x0000000000670000-memory.dmp

            Filesize

            1024KB

          • memory/3580-17-0x0000000000400000-0x000000000045D000-memory.dmp

            Filesize

            372KB