#staticAnalysis

2025-06-08

šŸš€ Going to ISC 2025? Join us for ā€œGORC: A Graph Neural Network-Based Static Data Race Checker for OpenMPā€
šŸ“… June 12 | šŸ• 13:25–13:50 | šŸ“ Hall F, 2nd Floor, Hamburg Congress Center

Speakers Anh Tran & Ignacio Laguna unveil GORC, a novel GNN-based race checker trained on PrograML graphs.
GORC achieves higher recall than LLOV and handles incomplete programs, outperforming current ML-based tools.

isc-hpc.com/program/schedule

#ISC25 #OpenMP #DataRace #HPC #StaticAnalysis #GraphNeuralNetwork

2025-06-01

One static analysis tool tells me to use `lstat` and `fstat` to avoid (or at least detect) malicious replacement of a file that I `open`. Then, after doing this, my other static analysis tool complains that I’ve introduced a TOCTOU (time-of-use, time-of-check) between `lstat` and `open`.

Sure, but I’m going to detect that. Real issue I have with all of this is that there’s still a window (which I estimate to be the about the same size in both versions of this program) between creating this pseudoterminal file and the next interaction I have with it (be that pulling file stats with `lstat` or `open`ing it).
#SemGrep #Coverity #StaticAnalysis #Programming #C

Orhun Parmaksız šŸ‘¾orhun@fosstodon.org
2025-05-26

Just found this gem for my open source projects šŸ”„

🌈 **zizmor** — A static analysis tool for GitHub Actions.

šŸ›”ļø Finds common security issues in your GitHub Actions workflows & more!

šŸ¦€ Written in Rust!

⭐ GitHub: github.com/zizmorcore/zizmor

#rustlang #github #actions #workflows #cicd #automation #staticanalysis #terminal

Jan :rust: :ferris:janriemer@floss.social
2025-05-18

Dylint - Run #Rust lints from dynamic libraries:

github.com/trailofbits/dylint

"Dylint is a Rust linting tool, similar to Clippy. But whereas #Clippy runs a predetermined, static set of lints, Dylint runs #lints from user-specified, dynamic libraries. Thus, Dylint allows developers to maintain their own personal lint collections."

Looks like a really cool project!

#Lint #RustLang #StaticAnalysis #Compiler

2025-05-07

Clang-tidy helps modernize C/C++ code by detecting bugs, inefficiencies & outdated patterns. While setup can be tricky, it's a powerful ally for migrating large codebases to modern C++. #Cpp #ClangTidy #StaticAnalysis #CodeQuality
youtube.com/watch?v=EWq4mXjeDV

MalChela GUI: Visualizing Malware Analysis with Ease

A New Face for MalChela

MalChela, a Rust based toolkit for YARA and malware analysis, was released as a set of command-line apps just a few months ago. Now, it steps into a new realm with the introduction of a graphical user interface (GUI), bringing its powerful features to a broader audience.

The transition from command-line to GUI isn’t just a cosmetic upgrade; it’s a strategic move to make malware analysis more accessible. The GUI version retains all the robust functionalities of its predecessor while offering an intuitive interface that caters to both seasoned analysts and newcomers.

Key Features at a Glance

File Analyzer Module

The updated fileanalyzer module provides a comprehensive overview of suspect files. By simply providing the path to a file, users receive:

  • SHA-256 Hash,
  • Entropy analysis,
  • Regular expression detection for packing,
  • PE header information (for PE files),
  • File metadata,
  • Suspicious API calls,
  • YARA rule matches (against your local library)
  • and VirusTotal hash matches.

This module serves as an excellent first step in static analysis, offering a detailed snapshot of the file’s characteristics.

mStrings Integration

One of MalChela’s standout features, mstrings, is seamlessly integrated into the GUI. This function extracts strings from files and applies Sigma rules defined in YAML to evaluate threats, aligning results with the MITRE ATT&CK framework. It’s a powerful tool for identifying indicators of compromise (IOCs) and understanding malware behavior. Users of MalChela can easily customize their own detection rules in YAML. About 15 new detection rules were added in this release.

Other Tools in the MalChela Suite

Beyond mstrings and fileanalyzer, the MalChela suite includes a range of focused utilities designed to support malware triage and forensic workflows.

malhash lets you quickly query both Virus Total and Malware Bazaar via API calls. The GUI includes an API configuration utility. The CLI will walk you through it.

mismatchminer walks a directory or volume looking for executables disguised as other file types.

mzmd5 and xmzmd5 generate MD5 hash sets—useful for building known-good or known-bad reference hash sets for matching against large corpora.

mzcount provides a quick census of file types in a directory.

strings_to_yara lets you transform suspicious strings into functional YARA rules.

extract_samples recursively unpacks directories of password protected archives often used in malware distribution.

nsrlquery lets you quickly check a hash against the CIRCL hash database.

MalChela’s modular approach with support for custom rule generation, gives analysts what they need without unnecessary overhead. Each tool is designed to run independently but plays well within the broader GUI ecosystem.

Output for any included tool can be saved or skipped at runtime with a simple toggle in the GUI. Structured tools support exporting results in plain text and JSON formats, while YARA rule creation and notes can also be saved in YAML or Markdown.

The Scratchpad:

Notes, YARA Strings, and Analyst Flow

Analysis often involves scattered notes, pasted IOCs, potential YARA strings, and fleeting insights. The MalChela GUI brings structure to that chaos with a built-in scratchpad — a minimalist text editor embedded directly in the interface.

The scratchpad supports live note-taking during tool runs, temporary storage of strings for strings_to_yara, manual IOC tracking and observation logging, and a copy/paste buffer for hashes, commands, or decoded payloads.

Auto-Save & Formats

By default, the scratchpad auto-saves your content every 10 seconds to prevent loss during intense analysis sessions. A simple dropdown lets you export your notes in .txt, .yaml, or .md formats—ideal for integrating with reports or detection development pipelines.

VS Code Integration

For those who prefer a full-featured editor, the ā€œOpen in VS Codeā€ button sends your current note directly to a VS Code window, assuming it’s installed and on your system path. This bridges the gap between in-tool triage and deeper rule crafting or documentation workflows.

Bonus Tip: strings_to_yara Compatibility

Lines in the scratchpad that begin with hash: are ignored by the strings_to_yara tool. This allows analysts to keep reference hashes or tagging metadata in the same document without interfering with rule generation. You can import your scratchpad into strings_to_yara in one click.

This feature isn’t just a notepad—it’s a tactical workspace. Whether you’re building detections, jotting notes mid-investigation, or scripting quick ideas, the scratchpad keeps yourn workflow grounded and your thoughts collected.

Last but not least, a crab with karma

Update Checker

The GUI includes a function to automatically check the GitHub repository for updates, encouraging users to pull the latest changes and ensure they have the most current tools at their disposal. šŸ¦€

Enhancing the Analysis Workflow

The GUI version of MalChela doesn’t just replicate CLI functionalities; it enhances the overall workflow. The visual interface allows for easier navigation between modules, quick access to results, and a more streamlined analysis process.

For instance, after walking a directory with mismatchminer you find a suspect file. You run fileanalyzer and can directly proceed to mstrings if the initial findings warrant deeper investigation. From there VirusTotal and Malware Bazaar information can be queried with malhash. Drop your notes in the scratchpad as you go and then use strings_to_yara to draft a YARA rule without worrying about a single tab or indent.

But wait, there’s more

Integrating Third-Party Tools with YAML

The MalChela GUI supports third-party tool integration using a simple tools.yaml configuration file. This makes MalChela not just a toolkit, but a flexible launchpad for your broader forensic workflow.

Each entry in tools.yaml defines the command, input type, and category for a tool. MalChela parses this file at startup, populating the GUI dynamically. Analysts can add their own utilities—whether it’s a custom script, a Python tool, or an external binary—without needing to recompile the application.

- name: Extract Samples  command: ["extract_samples"]  input_type: folder  category: "Utilities"- name: File Analyzer  command: ["fileanalyzer"]  input_type: file  category: "File Analysis"# Example 3rd party integration:# Below is a disabled example for capa# Uncomment to enable if capa is in your PATH## - name: capa#   command: "capa"#   input_type: "file"#   category: "External"#   optional_args: []

Once added, the tool appears in the GUI under its specified category, ready to be launched with a single click. Tools must be available in the system PATH, and input types must be one of: file, folder, or hash.

This keeps the interface clean, configurable, and analyst-driven—allowing teams to tailor MalChela to fit their exact needs without touching a single line of Rust.

MalChela is built with the belief that collaboration fuels innovation. I welcome contributions from the broader security and forensics community—whether it’s crafting new detection logic, enhancing YARA rule coverage, refining the GUI, or integrating additional tools via YAML. If you have an idea, patch, or workflow improvement, I’d love to see it. Together, we can make MalChela a more powerful and adaptable tool for every analyst.

Getting Started

šŸ‘‰ MalChela on GitHub

To explore the GUI version of MalChela, visit the official GitHub repository:

Installation instructions and a user guide are available to help you get started. Whether you’re a seasoned analyst or just beginning your journey in malware analysis, the GUI version of MalChela offers a user-friendly yet powerful tool to aid your investigations.

MalChela GUI runs on Mac and Linux (with extra love for Mac users). For use on Windows the entire MalChela CLI toolset is supported under WSL 2.

#DFIR #Forensics #Github #MalChele #Malware #MalwareBazaar #MITRE #SIgma #staticAnalysis #VirusTotal #yara

2025-04-16

"Custom PHPStan Rules: Automate Standards and Save Time" will be Dave Liddament's talk at phpday25.

#phpday25 #PHP #Staticanalysis #improvement #PHPStan

--------
phpday - 22nd edition
The annual gathering for developers, professionals, and PHP enthusiasts.
The conference is powered by @grusp
šŸ“Verona (Italy) | šŸ“† May 15-16, 2025
Tickets bit.ly/41J6UP3

C++Nowcppnow
2025-04-13

C++Now 2025 SESSION ANNOUNCEMENT: Improving Code Safety in C++ at Scale with Static Analysis by Yitzhak Mandelbaum

schedule.cppnow.org/session/20

Register now at cppnow.org/registration/

2025-03-27

"Custom PHPStan Rules: Automate Standards and Save Time" will be Dave Liddament's talk at phpday25.

#phpday25 #PHP #Staticanalysis #improvement #PHPStan

--------
phpday - 22nd edition
The annual gathering for developers, professionals, and PHP enthusiasts.
The conference is powered by @grusp
šŸ“Verona (Italy) | šŸ“† May 15-16, 2025
Tickets bit.ly/41J6UP3

C++Nowcppnow
2025-03-20

C++Now 2025 SESSION ANNOUNCEMENT: Improving Code Safety in C++ at Scale with Static Analysis by Yitzhak Mandelbaum

schedule.cppnow.org/session/20

Register now at cppnow.org/registration/

The Dutch PHP Conferencedpc_ibuildings
2025-03-15

šŸ” New talk at Dutch PHP Conference!

Manual code reviews don’t catch everything—but static analysis tools can help detect security vulnerabilities before they become a problem.

Join Nic Wortel at DPC 2025 for:
šŸŽ¤ "Finding Security Vulnerabilities with Static Analysis"

šŸ“… Check the schedule: phpconference.nl/session/findi

Mensch AntimeierSdfendor@chaos.social
2025-03-12

Almost done with level 1 in a big, partly legacy, codebase - quite some work and deleted lines of code šŸ’¦.
Loooking forward to level 2 and a bit of fresh air in the error messages 😁.

#php #phpstan #staticanalysis

The Dutch PHP Conferencedpc_ibuildings
2025-03-11

šŸ”„ Speaker Update! Nic Wortel replaces Tomas Votruba at with "Finding security vulnerabilities with static analysis".

šŸ›”ļøšŸ’” Check the schedule → phpconference.nl/schedule-2025/

2025-03-03

Thanks to my github #sponsors I can contribute to important projects of the #php ecosystem

Focused on #staticanalysis tools and type-information of widely used projects I can make everyones job easier and more efficient

Do me a favour and tell your boss to support my efforts :).

follow my efforts and writeups on staabm.github.io/

github.com screenshot showing a page full of merged pull requests to popular static analysis projects
scovl :emacs: :freebsd_logo:lobocode@hachyderm.io
2025-02-27

Comparativo: PMD, Semgrep e Aider. Qual ferramenta de anƔlise estƔtica usar? Descubra os pontos fortes e fracos de cada uma, incluindo o poder dos LLMs no Aider. #Coding #StaticAnalysis #DevSecOps dev.to/scovl/analise-comparati

JAVAPROjavapro
2025-02-13

Your spots errors before you even hit run. But HOW? Explore the hidden world of — where grammars, parse trees & rule. @martin_fmi breaks it all down. Read: javapro.io/2025/02/04/the-art-

kriware :verified:kriware@infosec.exchange
2025-02-11

Opengrep: Static Code Analysis Tool

Opengrep is an ultra-fast static analysis tool that enables semantic code pattern searches across large codebases.

github.com/opengrep/opengrep

#StaticAnalysis #CodeSecurity

Thomas KrƤftnerkraftner
2024-12-17

So, for a client I am evaluating whether to use and/or for and would love everyone's opinion on this! What are you using and in particular why?

2024-12-09

#PHPStan, a static analysis tool for PHP, released v 2.0!

This release introduces new features and improvements that enhance code analysis, performance, and user experience.

Read more details on #InfoQ šŸ‘‰ bit.ly/3P76Xyt

#DevOps #PHP #StaticAnalysis

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst