Commit graph

271 commits

Author SHA1 Message Date
DosX
9853fdc223 Rename MSDOS rule files; adjust RM_FORTRAN mode
Rename several MSDOS detection rule files to include category prefixes and improve organization. Files renamed:
- db/MSDOS/RM_FORTRAN.4.sg -> db/MSDOS/compiler_RM_FORTRAN.4.sg (mode changed 100755 -> 100644; only whitespace/formatting normalized, no detection logic change)
- db/MSDOS/REC_small_AV.1.sg -> db/MSDOS/immunizer_REC_small_AV.1.sg
- db/MSDOS/RLE_com-packer.2.sg -> db/MSDOS/packer_RLE_com-packer.2.sg
- db/MSDOS/REC_small.1.sg -> db/MSDOS/protector_REC_small.1.sg
- db/MSDOS/anti-tracing_add-on.1.sg -> db/MSDOS/protector_anti-tracing_add-on.1.sg

No functional changes to detection rules aside from the noted formatting and permission adjustment.
2026-06-21 13:09:22 +03:00
DosX
82e408f2df Rename DB files to sfx_ and compiler_ prefixes
Rename several database pages to standardized prefixes for clearer organization: db/LX/{PKZIP-SFX.1.sg,RAR-SFX.1.sg} -> db/LX/sfx_PKZIP-SFX.1.sg and db/LX/sfx_RAR-SFX.1.sg; db/MSDOS/{Microsoft_Fortran.4.sg,Microsoft_Quick_Basic.4.sg} -> db/MSDOS/compiler_Microsoft_Fortran.4.sg and db/MSDOS/compiler_Microsoft_Quick_Basic.4.sg. Files are unchanged (100% similarity); only filenames were updated to reflect type (sfx for self-extractors, compiler for compilers).
2026-06-21 12:46:12 +03:00
DosX
f249f403a6 Categorize and rename MSDOS rule files
Rename many db/MSDOS detection rules to include category prefixes (e.g. compiler_, extender_, immunizer_, linker_, protector_, other_) for clearer organization. Add sLang assignment for Microsoft_C rule to set "C" or "C/C++" based on sName. Normalize formatting/whitespace in several scripts and remove executable bit from a few rule files. No detection logic changes besides the explicit sLang assignment.
2026-06-21 12:22:16 +03:00
DosX
a5b91db3ad Refactor MSDOS rule filenames; set LSI C language
Renamed multiple db/MSDOS detection rule files to include category prefixes (compiler_, library_, protector_, self-displayer_, sfx_) for clearer organization. Cleared executable bits on LSI_C and Khrome_Crypt files (100755 → 100644). Added sLang = "C" to the LSI C detection rule to explicitly mark the language. No other functional changes.
2026-06-21 12:13:36 +03:00
DosX
20c1d39026 Set sLang in detectors; rename DB files
Populate sLang in several MS-DOS detector scripts so the detected language is recorded (Logitech_Modula-2.4: sLang = "Modula-2"; ASIC-Basic, ApBasic, BetterBASIC, Turbo_Basic: sLang = "Basic"). Also rename L_O_V_E__FORTH.4.sg to compiler_L_O_V_E__FORTH.4.sg and Phar_Lap.0a.sg to extender_Phar_Lap.0a.sg to standardize database file naming. No other logic changes.
2026-06-21 12:06:59 +03:00
DosX
9a03a2c257 Reclassify and rename MSDOS rule files
Rename multiple files in db/MSDOS to add category prefixes (e.g. converter_, extender_, packer_, protector_, self-displayer_) for clearer organization. Remove executable bit on several .sg files (mode 100755 -> 100644) and apply minor whitespace/line-ending normalization in a few detection rules (no functional changes).
2026-06-21 12:01:50 +03:00
DosX
b131106437 Prefix MSDOS DB filenames by type
Rename several entries under db/MSDOS to include a category prefix (compiler_, extender_, immunizer_, installer_, loader_, protector_) for clearer organization. Affected files include Fitted_Modula-2.4, Lahey_Fortran.4, Lattice_C.4, PDC_Prolog.4, EMMXXXX0_check.0a, GameWizard_DOS_Extender.0a, File_Shield.1, GamBit_Pro_Library.1, DOS32_loader.0a, and Eliashim's_CodeTrack.1. This improves discoverability and groups records by type.
2026-06-12 13:14:19 +03:00
DosX
1db7ae8b55 Refactor DB entries, update heuristics
Rename and reorganize multiple MSDOS rule files into categorized names (compiler_*, converter_*, debug_data_*, protector_*). Add sLang="C" to Aztec C detection, adjust Borland TDS meta key to "debug data" and tweak its description. Improve PE generic heuristic whitelist with many new/expanded regexes for dates, versions, GUIDs/hashes, naming conventions, platform identifiers and product/package tokens. Update author/attribution comments for several PE cryptor/compiler rules to DosX, and fix detection logic in Duals eXe Encryptor by marking bDetected earlier. Miscellaneous formatting and comment cleanups.
2026-05-27 08:51:11 +03:00
DosX
6767b50dbf Remove line breaks 2026-05-25 21:03:46 +03:00
DosX
9d6b0e1acc Rename Amiga DB files and tweak signatures
Rename several Amiga database entries to use clearer prefixes (compiler_*/cruncher_*). Update db/MSDOS/virus.1.sg to call meta("virus") without the empty second argument. Normalize wildcard placeholders in PE/__GenericHeuristicAnalysis_By_DosX.7.sg from "??" to "..", adjust a region comment spacing, and make minor comment/formatting tweaks to improve consistency and readability.
2026-05-07 20:35:50 +03:00
DosX
4f5b5288d0 Rename MS-DOS db files to include type prefixes
Rename several files in db/MSDOS to add explicit type prefixes for clearer organization and consistency. Renamed files:
- Meridian_Ada.4.sg -> compiler_Meridian_Ada.4.sg
- Meridian_Pascal.4.sg -> compiler_Meridian_Pascal.4.sg
- Visual_Cobol.4.sg -> compiler_Visual_Cobol.4.sg
- Netware_loader.1.sg -> loader_Netware_loader.1.sg
- Black_fist.2.sg -> packer_Black_fist.2.sg
- PROPACK_SFX.1.sg -> sfx_PROPACK_SFX.1.sg
2026-04-23 16:35:33 +03:00
DosX
a718dbf74a Rename MSDOS DB files to categorized names
Standardize db/MSDOS filenames by adding type prefixes (compiler_, cryptor_, protector_, sfx_, other_PK_). Rename multiple detection rule files accordingly. Also normalize file modes for protector_DAEMON_Protect.2.sg and sfx_Disk_eXPress.1.sg (100755 -> 100644) and apply minor formatting/whitespace normalization; no detection logic changes.
2026-04-19 00:05:06 +03:00
horsicq
fb1ac1bf28 chore: update detection rules and add author comments 2026-03-19 19:16:53 +01:00
DosX
3eef47d918 Organize MSDOS db files into categorized names
Rename several MSDOS database files to add category prefixes and reorganize one entry into db_extra. No content changes (100% similarity); this is a file-structure cleanup to make types explicit:
- db/MSDOS/Power_C.4.sg -> db/MSDOS/compiler_Power_C.4.sg
- db/MSDOS/CauseWay_DOS_Extender.0a.sg -> db/MSDOS/extender_CauseWay_DOS_Extender.6.sg
- db/MSDOS/Copy_Protector.2.sg -> db/MSDOS/protector_Copy_Protector.2.sg
- db/MSDOS/Copylock_PC.1.sg -> db/MSDOS/protector_Copylock_PC.2.sg
- db/MSDOS/FCP_IV.2.sg -> db_extra/MSDOS/packer_FCP_IV.2.sg
2026-03-12 22:37:06 +03:00
DosX
fc5a2d4039 Categorize and rename MS-DOS rule files
Rename several db/MSDOS detection rules to include category prefixes (compiler_, packer_, protector_, sfx_) for clearer organization. Example renames: BSTAR_FORTH.4.sg -> compiler_BSTAR_FORTH.4.sg, Symantec_BASIC.4.sg -> compiler_Symantec_BASIC.4.sg, Topspeed_C.4.sg -> compiler_Topspeed_C.4.sg, Turbo_Basic.4.sg -> compiler_Turbo_Basic.4.sg, Turbo_Prolog.4.sg -> compiler_Turbo_Prolog.4.sg, Tenth_Planet.2.sg -> packer_Tenth_Planet.2.sg, AVAST_CRC-Check.2.sg -> protector_AVAST_CRC-Check.2.sg, PKZIP_mini-sfx.1.sg -> sfx_PKZIP_mini-sfx.1.sg.

Also adjusted BSTAR_FORTH file mode from 100755 to 100644 (removed executable bit) and fixed a minor formatting/brace issue in the BSTAR_FORTH detection function. No other functional changes to rule logic.
2026-03-09 13:17:25 +03:00
Benjamin Funke
e5815ef65b fix VROOMM signature 2026-03-02 17:20:54 +01:00
Benjamin Funke
919694b173 add runtime_VROOM signature 2026-03-02 16:28:26 +01:00
Benjamin Funke
e46b5e6725 fix Parsec Collection signature typo
Removed oversight _ in library_ParsecCollection.1.sg signature
2026-03-01 06:45:13 +01:00
horsicq
63d00c408f fix: improve Borland TDS version parsing in debug data detection 2026-02-28 23:42:44 +01:00
Benjamin Funke
b45ebd1178 add Parsec Collection signature
Used by Games like:
* Dunke Schatten 1
* Skyworker
2026-02-28 17:28:54 +01:00
DosX
5819fc9bdb Refactor PE and MSDOS rule file naming and structure
Renamed and reorganized numerous rule files in db/PE and db/MSDOS to use consistent prefixes (e.g., compiler_, installer_, packer_, etc.) and moved some files to db_extra. Also deleted the obsolete IBM_VisualAge_PL_I.6.sg file. This improves maintainability and clarity of the rule database.
2026-01-28 10:32:21 +03:00
DosX
9e621e1954 Rename and reorganize rule files
Renamed and moved numerous .sg files in the db directory to follow a more consistent naming convention and directory structure, grouping by type (e.g., compiler, cruncher, packer, protector, etc.). This improves maintainability and clarity of the signature database organization.
2026-01-25 11:20:39 +03:00
DosX
09e52a2dc9 Standardize and reorganize database file naming for DosX's rules
Renamed and reorganized numerous database files across APK, DEX, ELF, PE, and other directories to use consistent prefixes such as 'library_', 'protector_', 'packer_', 'cryptor_', 'tool_', and similar. This improves clarity, maintainability, and categorization of the database entries.
2026-01-12 00:02:11 +03:00
github-actions[bot]
bccd5785c1 style: auto-format JavaScript files in db directories 2026-01-06 18:25:46 +00:00
DosX
52d43dfa3a Add detection rule for 32LiTe packer on MSDOS
Introduces a new signature file for detecting the 32LiTe packer in MSDOS executables.
2025-10-13 13:45:24 +03:00
DosX
cf59a42bec Refactor detection logic and update metadata
Streamlined switch-case statements in several detection scripts for improved readability and maintainability. Updated version formatting and metadata in Fish_PE.2.sg and SfxCA.1.sg. Moved O'Setup95.1.sg to db_extra/PE and changed its file mode to 100644.
2025-09-24 21:44:35 +03:00
DosX
3e2c5ce4fe Refactor MSDOS address conversion and update PE rules
Renamed MSDOS.AddressToOffset to MSDOS.addressToOffset for consistency and added a backward compatibility alias. Updated detection scripts to use the new method name. Renamed and updated several PE rule files for clarity and accuracy, including metadata corrections and minor code improvements.
2025-08-28 00:37:54 +03:00
DosX
33711a0407 Add standard DiE-JS framework header to db files
Added a standard header comment to all db framework and detection rule files, indicating they are part of the Detect It Easy (DiE-JS) framework and warning against unauthorized changes. This improves consistency and clarifies file purpose for maintainers.
2025-08-27 23:21:24 +03:00
DosX
1f049ce2c2 Global restandardization: init(...) -> meta(...) 2025-08-27 22:58:17 +03:00
DosX
d27c3df749 Refactor string emptiness checks to truthy checks
Replaces explicit string emptiness comparisons (e.g., `if (x != "")`) with truthy checks (e.g., `if (x)`) throughout detection scripts. This improves code readability and consistency across multiple file format detection modules.
2025-08-09 16:21:28 +03:00
DosX
13b88a21cb Standardize version string casing and minor code cleanups
Updated various detection scripts to use consistent uppercase 'X' in version strings (e.g., '1.1x' to '1.1X') for standardization. Minor formatting and code cleanups were applied, including compacting switch cases, fixing indentation, and correcting return statements. Also, moved and changed permissions for CodeSafe.2.sg to db_extra/PE/CodeSafe.2.sg.
2025-07-24 12:26:22 +03:00
hypn0chka
9b2ac53bd5 new & update 2025-07-07 22:53:08 +05:00
hypn0chka
0c8fc3e934 new & update 2025-07-07 21:05:30 +05:00
DosX
51a842ee66 Refactor and simplify detection logic in signature scripts
Refactored multiple detection scripts to simplify conditional logic, reduce variable usage, and improve code readability. Combined nested if statements, removed unnecessary variables, and standardized style across MSDOS and PE signature detection files. No changes to detection logic or functionality.
2025-07-07 17:08:56 +03:00
DosX
196eb27c79 Improve code formatting and consistency in MSDOS scripts
Applied consistent spacing in array definitions and control structures in PROTECT.2.sg, improved variable declarations and strict comparison in UPX.2.sg, and fixed formatting in virus.1.sg. These changes enhance code readability and maintainability without altering functionality.
2025-07-06 21:23:38 +03:00
hypn0chka
12e2d5c743 new & update 2025-07-06 22:42:07 +05:00
hypn0chka
c924843207 new & update 2025-07-06 21:49:30 +05:00
hypn0chka
10696be297 new & update 2025-07-06 17:20:17 +05:00
DosX
980704a895 Move and update detection rules to db_extra directory
Several detection rule files were moved from db/ to db_extra/ for COM, ELF, MSDOS, and PE formats. Minor code style and comment updates were made to some scripts, and the about.txt file in db_extra was updated for clarity. The PE/Break_Into_Pattern.2.sg rule was renamed to Break-Into-Pattern.
2025-07-02 13:55:44 +03:00
DosX
6081d6e849 db refactoring 2025-07-01 18:19:46 +03:00
DosX
340953273b Refactor language detection to simplify _setLang usage
Removed the 'isPositive' argument from _setLang and updated all detection scripts to set language via variable assignment instead of calling _setLang directly. This streamlines language detection logic and centralizes result handling, improving maintainability and reducing redundant checks.
2025-07-01 18:05:40 +03:00
DosX
1495924272 _setLang func -> sLang field 2025-07-01 17:54:31 +03:00
horsicq
95a86ceb47 Update file(s): 2025-06-25 2025-06-25 02:11:50 +02:00
DosX
fe3a42dc24 db refactoring 2025-06-21 21:00:15 +03:00
hypn0chka
dd43425913 new & update 2025-06-21 18:15:31 +05:00
DosX
73b883f508 MS-DOS bugfix & _init refactoring 2025-06-21 01:33:42 +03:00
DosX
9645df70cd " " -> "_" 2025-05-29 21:08:49 +03:00
hypn0chka
e6844d09a6 new & update 2025-05-29 23:07:28 +05:00
hypn0chka
c66b6a5720 new & update 2025-05-29 19:21:45 +05:00
DosX
56e42861bb Update PROTECT.2.sg 2025-03-28 00:15:47 +03:00