Analysis

  • max time kernel
    174s
  • max time network
    175s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    07-06-2022 14:58

General

  • Target

    1c8743843e7dcdc405dcfdc5745a05d66f8807740d0d7e3cd169172b9559c0d8.exe

  • Size

    138KB

  • MD5

    e70dc7260416996a8b62ff3b6e0420f6

  • SHA1

    3ad2783d4bc4ffd6d0a2dd4a61f16229b27839d0

  • SHA256

    1c8743843e7dcdc405dcfdc5745a05d66f8807740d0d7e3cd169172b9559c0d8

  • SHA512

    260dfd93c94cf67c91345a1d8c6a5c2399633e25b53b8ad3d87b246235893a385728c86229f36ac257fe20d5dd979248af2c90b5b93f9dc402a0d59b6b71662e

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
  • Executes dropped EXE 1 IoCs
  • 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.

  • 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). Likely ransomware behaviour.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\1c8743843e7dcdc405dcfdc5745a05d66f8807740d0d7e3cd169172b9559c0d8.exe
    "C:\Users\Admin\AppData\Local\Temp\1c8743843e7dcdc405dcfdc5745a05d66f8807740d0d7e3cd169172b9559c0d8.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yymggskw\
      2⤵
        PID:424
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\emfvaxpz.exe" C:\Windows\SysWOW64\yymggskw\
        2⤵
          PID:4264
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create yymggskw binPath= "C:\Windows\SysWOW64\yymggskw\emfvaxpz.exe /d\"C:\Users\Admin\AppData\Local\Temp\1c8743843e7dcdc405dcfdc5745a05d66f8807740d0d7e3cd169172b9559c0d8.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4936
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description yymggskw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1016
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start yymggskw
          2⤵
          • Launches sc.exe
          PID:4472
        • 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:4448
      • C:\Windows\SysWOW64\yymggskw\emfvaxpz.exe
        C:\Windows\SysWOW64\yymggskw\emfvaxpz.exe /d"C:\Users\Admin\AppData\Local\Temp\1c8743843e7dcdc405dcfdc5745a05d66f8807740d0d7e3cd169172b9559c0d8.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4464
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:3360

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      New Service

      1
      T1050

      Modify Existing Service

      1
      T1031

      Registry Run Keys / Startup Folder

      1
      T1060

      Privilege Escalation

      New Service

      1
      T1050

      Defense Evasion

      Modify Registry

      1
      T1112

      Discovery

      Query Registry

      1
      T1012

      System Information Discovery

      2
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\emfvaxpz.exe
        Filesize

        14.0MB

        MD5

        938b2e4278e9a84144c4f5e249c5fe24

        SHA1

        4b8bf818da705880b7537056ec4788888e5c70f6

        SHA256

        080c11803667eca9bdde6b089c14983f19fdea5eca026094db7473e8274962bd

        SHA512

        cdd2dadb17174823f392dcb95e053a6a6df0f8a89abe9b088a9db22e55b2e5938d115ad83a24d98e501ba88dcf7521d4175bb00be432e9da251a43c515fb1980

      • C:\Windows\SysWOW64\yymggskw\emfvaxpz.exe
        Filesize

        14.0MB

        MD5

        938b2e4278e9a84144c4f5e249c5fe24

        SHA1

        4b8bf818da705880b7537056ec4788888e5c70f6

        SHA256

        080c11803667eca9bdde6b089c14983f19fdea5eca026094db7473e8274962bd

        SHA512

        cdd2dadb17174823f392dcb95e053a6a6df0f8a89abe9b088a9db22e55b2e5938d115ad83a24d98e501ba88dcf7521d4175bb00be432e9da251a43c515fb1980

      • memory/424-131-0x0000000000000000-mapping.dmp
      • memory/1016-135-0x0000000000000000-mapping.dmp
      • memory/3360-141-0x00000000003A0000-0x00000000003B5000-memory.dmp
        Filesize

        84KB

      • memory/3360-145-0x00000000003A0000-0x00000000003B5000-memory.dmp
        Filesize

        84KB

      • memory/3360-144-0x00000000003A0000-0x00000000003B5000-memory.dmp
        Filesize

        84KB

      • memory/3360-140-0x0000000000000000-mapping.dmp
      • memory/3940-130-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/4264-132-0x0000000000000000-mapping.dmp
      • memory/4448-137-0x0000000000000000-mapping.dmp
      • memory/4464-139-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/4472-136-0x0000000000000000-mapping.dmp
      • memory/4936-134-0x0000000000000000-mapping.dmp