- Ilfak's presentation at Recon 2018
- Microcode in pictures
- Hex-Rays Microcode API vs. Obfuscating Compiler
- Scripts vds10, vds11, vds12 and vds13 from Hex-Rays SDK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (c) Tim Blazytko 2021 | |
# implementation based on the blog post "Automated Detection of Control-flow Flattening" | |
# https://synthesis.to/2021/03/03/flattening_detection.html | |
import sys | |
from miasm.analysis.binary import Container | |
from miasm.analysis.machine import Machine | |
from miasm.core.locationdb import LocationDB | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import idc | |
import idautils | |
import idaapi | |
import ida_bytes | |
import ida_funcs | |
def is_function(ea): | |
f = idaapi.get_func(ea) | |
if not f: | |
return False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/nsmb.conf - macOS 11.3 - 2021-04-29 | |
#------------------------------------------------------------------------------ | |
# SMB configuration for macOS 11.3 <-> Synology | |
#------------------------------------------------------------------------------ | |
# Additional information: | |
# ----------------------- | |
# https://support.apple.com/de-de/HT211927 | |
# https://support.apple.com/en-us/HT208209 | |
# https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra | |
# https://photographylife.com/afp-vs-nfs-vs-smb-performance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
On remote machine: | |
## windows (powershell) | |
$ python.exe fix-cursor-remote-ssh-connection-failure.py ` | |
--commit b1e87884330fc271d5eb589e368c35f14e76dec0 ` | |
--username ${YOUR_USERNAME_HERE} ` | |
--file-hash-override 84b9c6d907219bb8c2874f299540eb6a079187a0 | |
## (linux/macos) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from https://reverseengineering.stackexchange.com/a/11835/13408 | |
# ported to python3 and IDA 8.0+ by Mahmoud Abdelkader | |
import idaapi | |
import ida_bytes | |
import ida_kernwin | |
def apply_dif_file(dif_file_name): | |
print("Applying " + dif_file_name + " to database.") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
summary: show tabular data with icons | |
""" | |
import ida_kernwin | |
from ida_kernwin import Choose | |
# ----------------------------------------------------------------------- | |
class chooser_handler_t(ida_kernwin.action_handler_t): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
class Base256: | |
def __init__(self): | |
self.list = [['aardvark','adroitness'],['absurd','adviser'],['accrue','aftermath'],['acme','aggregate'],['adrift','alkali'],['adult','almighty'],['afflict','amulet'],['ahead','amusement'],['aimless','antenna'],['Algol','applicant'],['allow','Apollo'],['alone','armistice'],['ammo','article'],['ancient','asteroid'],['apple','Atlantic'],['artist','atmosphere'],['assume','autopsy'],['Athens','Babylon'],['atlas','backwater'],['Aztec','barbecue'],['baboon','belowground'],['backfield','bifocals'],['backward','bodyguard'],['banjo','bookseller'],['beaming','borderline'],['bedlamp','bottomless'],['beehive','Bradbury'],['beeswax','bravado'],['befriend','Brazilian'],['Belfast','breakaway'],['berserk','Burlington'],['billiard','businessman'],['bison','butterfat'],['blackjack','Camelot'],['blockade','candidate'],['blowtorch','cannonball'],['bluebird','Capricorn'],['bombast','caravan'],['bookshelf','caretaker'],['brackish','celebrate'],['breadline','cellulose'],['br |
bundleid=$(mdls <APP_PATH_HERE> | grep kMDItemCFBundleIdentifier | cut -d'"' -f2)
defaults write com.apple.LaunchServices LSHandlers -array-add \
"{ LSHandlerContentType = \"public.data\"; LSHandlerRoleAll = \"$bundleid\"; };"
NewerOlder