Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-01-2024 04:47

General

  • Target

    7eedb29e334df81a1cb3e903ff54fab8.exe

  • Size

    486KB

  • MD5

    7eedb29e334df81a1cb3e903ff54fab8

  • SHA1

    e19421a8db6c80b277e4e7f41706ada611c4c9b6

  • SHA256

    5b4a4548605acece372ff9bedaa7095331b3abfe1fb602cf8b378fd0e3d15d14

  • SHA512

    c70ed6c62a2ad03e5f58db7306bc5849129c3fdc1db30f2540ce9d51f18924221053b57503e717a9436a9c8dac8e55a5b9f78142880b6d6c5fcbd3446241a74d

  • SSDEEP

    12288:7baSTgd2cCMXKfDARCTqdQYLm3sgSG735OKPOA5H6KSoS:ud2XDARCTEQYLRgZr5NH6

Malware Config

Extracted

Family

latentbot

C2

pertenemene.zapto.org

Signatures

  • LatentBot

    Modular trojan written in Delphi which has been in-the-wild since 2013.

  • Modifies firewall policy service 2 TTPs 10 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 3 IoCs
  • UPX packed file 12 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Modifies registry key 1 TTPs 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 36 IoCs
  • Suspicious use of SetWindowsHookEx 6 IoCs
  • Suspicious use of WriteProcessMemory 48 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\7eedb29e334df81a1cb3e903ff54fab8.exe
    "C:\Users\Admin\AppData\Local\Temp\7eedb29e334df81a1cb3e903ff54fab8.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:1596
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\SonNl.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1828
      • C:\Windows\SysWOW64\reg.exe
        REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "ky" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\ky\gen.exe" /f
        3⤵
        • Adds Run key to start application
        PID:4584
    • C:\Users\Admin\AppData\Roaming\ky\gen.exe
      "C:\Users\Admin\AppData\Roaming\ky\gen.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:4420
      • C:\Users\Admin\AppData\Roaming\ky\gen.exe
        "C:\Users\Admin\AppData\Roaming\ky\gen.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:4720
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1248
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
            5⤵
            • Modifies firewall policy service
            • Modifies registry key
            PID:4216
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:4700
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
            5⤵
            • Modifies firewall policy service
            • Modifies registry key
            PID:380
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\vc.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\vc.exe:*:Enabled:Windows Messanger" /f
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1532
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\vc.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\vc.exe:*:Enabled:Windows Messanger" /f
            5⤵
            • Modifies firewall policy service
            • Modifies registry key
            PID:2684
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\ky\gen.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\ky\gen.exe:*:Enabled:Windows Messanger" /f
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1784
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\ky\gen.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\ky\gen.exe:*:Enabled:Windows Messanger" /f
            5⤵
            • Modifies firewall policy service
            • Modifies registry key
            PID:2772
      • C:\Users\Admin\AppData\Roaming\ky\gen.exe
        "C:\Users\Admin\AppData\Roaming\ky\gen.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:3356

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\SonNl.bat

    Filesize

    128B

    MD5

    2cc705a27b7a7355d9b869d5a270c930

    SHA1

    58795d280b54ab03edcb1a26ba83ec39b3516b74

    SHA256

    0a6bc32f15d4e7eb0867a99e7aa71cbf02358520023fb2c2b8a16f2ba639a612

    SHA512

    1bb401c94892b72460c7671b546e787d1acc5f0dd490d1e48dccb5b6e6233c04a0e2a955305a2a7f2c00d05cfcd4c6b421d2ab22f6336d2bfda26e588d09444d

  • C:\Users\Admin\AppData\Roaming\ky\gen.exe

    Filesize

    486KB

    MD5

    7eedb29e334df81a1cb3e903ff54fab8

    SHA1

    e19421a8db6c80b277e4e7f41706ada611c4c9b6

    SHA256

    5b4a4548605acece372ff9bedaa7095331b3abfe1fb602cf8b378fd0e3d15d14

    SHA512

    c70ed6c62a2ad03e5f58db7306bc5849129c3fdc1db30f2540ce9d51f18924221053b57503e717a9436a9c8dac8e55a5b9f78142880b6d6c5fcbd3446241a74d

  • memory/1596-0-0x0000000000400000-0x00000000008AF000-memory.dmp

    Filesize

    4.7MB

  • memory/1596-4-0x0000000000400000-0x00000000008AF000-memory.dmp

    Filesize

    4.7MB

  • memory/1596-22-0x0000000000400000-0x00000000008AF000-memory.dmp

    Filesize

    4.7MB

  • memory/3356-51-0x00000000001C0000-0x00000000001C2000-memory.dmp

    Filesize

    8KB

  • memory/3356-46-0x0000000000400000-0x0000000000407000-memory.dmp

    Filesize

    28KB

  • memory/3356-26-0x0000000000400000-0x0000000000407000-memory.dmp

    Filesize

    28KB

  • memory/3356-30-0x0000000000400000-0x0000000000407000-memory.dmp

    Filesize

    28KB

  • memory/3356-34-0x00000000001C0000-0x00000000001C2000-memory.dmp

    Filesize

    8KB

  • memory/3356-38-0x0000000000400000-0x0000000000407000-memory.dmp

    Filesize

    28KB

  • memory/3356-33-0x0000000000400000-0x0000000000407000-memory.dmp

    Filesize

    28KB

  • memory/4420-35-0x0000000000400000-0x00000000008AF000-memory.dmp

    Filesize

    4.7MB

  • memory/4720-28-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-45-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-32-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-47-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-48-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-49-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-23-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-57-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-62-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-64-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-66-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB

  • memory/4720-69-0x0000000000400000-0x0000000000474000-memory.dmp

    Filesize

    464KB