Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-04-2024 01:24

General

  • Target

    fe1a54e652e0aabbeef12672ab7cd8b6_JaffaCakes118.exe

  • Size

    12.5MB

  • MD5

    fe1a54e652e0aabbeef12672ab7cd8b6

  • SHA1

    ade9b1b9a4cffb7273e0d4658c46e4b96da074cb

  • SHA256

    4862a24b71b2b82a87363c6e8f76784c96fca5a5285611387c8c012928206445

  • SHA512

    fc5f7260a03670a45105b77e4eab17cd784f43fc689e8c7314848f08cabbefcd833cef6e42736585dcd8af54d0642db4249e70ffd6b7b6153dcbe09bf97f41e0

  • SSDEEP

    49152:oM+SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSz:o

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 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\fe1a54e652e0aabbeef12672ab7cd8b6_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fe1a54e652e0aabbeef12672ab7cd8b6_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4832
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yywechrq\
      2⤵
        PID:2116
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uwpahpdt.exe" C:\Windows\SysWOW64\yywechrq\
        2⤵
          PID:3764
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create yywechrq binPath= "C:\Windows\SysWOW64\yywechrq\uwpahpdt.exe /d\"C:\Users\Admin\AppData\Local\Temp\fe1a54e652e0aabbeef12672ab7cd8b6_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1916
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description yywechrq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3900
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start yywechrq
          2⤵
          • Launches sc.exe
          PID:3628
        • 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:3940
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4832 -s 660
          2⤵
          • Program crash
          PID:1532
      • C:\Windows\SysWOW64\yywechrq\uwpahpdt.exe
        C:\Windows\SysWOW64\yywechrq\uwpahpdt.exe /d"C:\Users\Admin\AppData\Local\Temp\fe1a54e652e0aabbeef12672ab7cd8b6_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1788
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3716
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1788 -s 516
          2⤵
          • Program crash
          PID:388
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4832 -ip 4832
        1⤵
          PID:4652
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1788 -ip 1788
          1⤵
            PID:4380

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            13.8MB

            MD5

            5156ccd77d6921205e489b9018209fa8

            SHA1

            b171914d4595312a6b64fef6ac08dce083b49299

            SHA256

            316640ba274b1c36f785126ebc413bee57ce67978e7d8af2bf42fa8326ef126d

            SHA512

            f3bb11c7aaabad5b6702bd5357693b1c8649f884760b414c65ab6601ffaa44a4bbbce2dce3336c787dce4ba05b2f24f5a28dfbb6e7fe16fea906ae8f2a074f22

          • memory/1788-10-0x0000000000600000-0x0000000000700000-memory.dmp

            Filesize

            1024KB

          • memory/1788-11-0x0000000000400000-0x0000000000466000-memory.dmp

            Filesize

            408KB

          • memory/1788-17-0x0000000000400000-0x0000000000466000-memory.dmp

            Filesize

            408KB

          • memory/3716-12-0x0000000000C90000-0x0000000000CA5000-memory.dmp

            Filesize

            84KB

          • memory/3716-16-0x0000000000C90000-0x0000000000CA5000-memory.dmp

            Filesize

            84KB

          • memory/3716-18-0x0000000000C90000-0x0000000000CA5000-memory.dmp

            Filesize

            84KB

          • memory/3716-19-0x0000000000C90000-0x0000000000CA5000-memory.dmp

            Filesize

            84KB

          • memory/4832-3-0x0000000000400000-0x0000000000466000-memory.dmp

            Filesize

            408KB

          • memory/4832-2-0x0000000000610000-0x0000000000623000-memory.dmp

            Filesize

            76KB

          • memory/4832-7-0x0000000000400000-0x0000000000466000-memory.dmp

            Filesize

            408KB

          • memory/4832-8-0x0000000000610000-0x0000000000623000-memory.dmp

            Filesize

            76KB

          • memory/4832-1-0x0000000000630000-0x0000000000730000-memory.dmp

            Filesize

            1024KB