Skip to content
프로젝트

소개

Android, iOS, Linux, Windows 및 대부분의 관련 아키텍처에서 리버스 엔지니어링을 쉽게 수행할 수 있는 Frida 기반 트레이서입니다.

보안 및 개인정보 보호

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+2
in 15 days
+3
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Frinet

Frinet

By combining Frida with an enhanced version of Tenet, Frinet eases the study of large programs, vulnerability research and root-cause analysis on Linux, Android, iOS and Windows: record an execution trace with Frida, then explore it in IDA (timeline, registers, memory and call tree), over traces of up to 2 billion instructions.

This version is a complete rewrite of Frinet, originally a fork of gaasedelen/tenet: the old version stays on the legacy branch. Blogpost · SSTIC 2026 talk, in French (video, slides, paper)

Installation & usage

Installation

hcli plugin install frinet

Or manually, in the Python interpreter IDA uses:

git clone https://github.com/synacktiv/frinet
cd frinet
pip install frinet
cp -r frontend ~/.idapro/plugins/frinet

Usage

Trace a function with Frida (pip install frida frida-tools), here from ls!0x4c00 until it returns:

python tracers/frida/tracer.py -t ls -s 'ls!0x4c00' -f /bin/ls

Then open the trace in IDA (File > Load file > Open Frinet trace or DB...): it is indexed on the way into <trace>.db, which IDA offers to reuse the next time.

To index a large trace ahead of time, without IDA, install the CLI indexer (Rust 1.89 or newer):

cargo install --git https://github.com/synacktiv/frinet frinet-cli
frinet index tracers/frida/traces/ls_<timestamp>_<tid>_0.trace ls.db

Architecture

Entry points:

  • IDA plugin: explore a trace right in IDA, next to the disassembly.
  • Python (frinet package): script around your traces, one or many, with your own queries. The IDA plugin is built on it.
  • CLI (frinet index): index a large trace ahead of time, without IDA. The DB is memory-mapped and read in place, so an indexed trace then opens instantly.

indexer

Rust modules:

  • Indexer (crates/index)
    • turns a trace (format) into a DB
    • up to 2 billion instructions per trace
  • DB engine (crates/db)
    • registers as time series, and every execution of an address from the PC
    • memory reads and writes in packed R-trees
    • multi-threaded memory search, with its own regex engine (crates/regex)
    • zero copy: the queries read the memory-mapped DB in place

Tests, fuzzing and benchmarks: docs/TESTING.md.

Features

Timeline & trails: past and future of each instruction

timeline

Registers: values and changes at each step

registers

Memory: read/write breakpoints, first/prev/next/last access

memory

Search: multi-threaded memory search with regex

search

Call tree: step over / step out

calltree

Console: frinet_cursor, the cursor the views follow

console

The frinet package also reads a DB outside IDA:

import frinet

trace = frinet.open("ls.db")
ls = trace.module("ls")

# every execution of an instruction of ls, with the byte it loads
for time in trace.pc.times_with(ls.start + 0x157dc):
    state = trace.at(time)
    print(time, state.mem.read(state.regs.x28, 1))

# where and when "README.md" is in memory
for match in trace.search("README.md").result():
    print(hex(match.addr), match.first_time, match.last_time)

관련 프로젝트 살펴보기

불러오는 중…