SlideShare a Scribd company logo
1 of 18
Download to read offline
FORENSIC)INSIGHT;)
DIGITAL)FORENSICS)COMMUNITY)IN)KOREA
forensic.n0fate.com
Extracting typing history in
Unix Memory Image
forensicinsight.org
Contents
• Introduction to bash history	

• history management	

• Extracting bash history	

• Case study	

• Conclusion
forensicinsight.org
Bash
• Bourne-again shell	

• GNU 프로젝트를 위해 Brian Fox가 작성한 유
닉스 셸	

• GNU OS, Linux, Mac OS X 기본 셸	

• Cygwin이나 MinGW로 윈도에서 사용 가능	

• 명령 히스토리, 디렉터리 스택, $RANDOM
POSIX 형식 명령어 치환, 명령어 자동 완성
forensicinsight.org
Bash
• When started as an interactive login shell:	

• /etc/profile, ~/.bash_profile, ~/.bash_login,
/.profile	

• When a login shell exits : ~/.bash_logout	

• When started as an interactive shell :
~/.bashrc
forensicinsight.org
History Storage
• 사용자 명령어를 저장하여 추 후 해당 명령어
를 바로 실행 시킬 수 있게 함	

• ![HISTORY NUMBER]	

• 시간 값은 정의되어 있지 않으며, 실행한 명령
어를 ~/.bash_history에 순차적으로 기록	

• Mac OS X는 500개의 히스토리를 기록
forensicinsight.org
History Storage
• The history list is an array of history
entries
typedef void * histdata_t;	
typedef struct _hist_entry {	
char *line;	
char *timestamp;	
histdata_t data;	
} HIST_ENTRY;
/*	
* A structure used to pass around the current state of the history.	
*/	
typedef struct _hist_state {	
HIST_ENTRY **entries; /* Pointer to the entries themselves. */	
int offset; /* The location pointer within this array. */	
int length; /* Number of elements within this array. */	
int size; /* Number of slots allocated to this array. */	
int flags;	
} HISTORY_STATE;
reference : http://linux.die.net/man/3/history
forensicinsight.org
History Storage
HISTORY_STATE
HIST_ENTRY**
HIST_ENTRY
char* line
char* timestamp
void* data
HIST_ENTRY
char* line
char* timestamp
void* data
sudo port install build-essential
Thu Oct 24 08:35:36 2013
length	

(number of elements)
size (number of slots
allocated)
forensicinsight.org
Extracting bash history
• 1. Live Forensics	

• ~/.bash_history 파일 추출	

• History Functions 이용 (GNU History
library)	

• 2. Memory Forensics	

• 맵핑된history 파일 추출	

• bash 프로세스 영역에서 HIST_ENTRY 추출
forensicinsight.org
Extracting bash history
memory image
bash memory 1
bash memory 2
bash memory 3
bash memory 4
bash memory 5
bash process memory
TEXT
DATA
STACK
HEAP Space
LIBRARY
HEAP
0x7fdf68d00240 0x7fdf68d00240
0x7fdf68d00000
0x7fdf68e00000
HEAP
HEAP
forensicinsight.org
Extracting bash history
• DEMO
forensicinsight.org
Case Study
• 히스토리 타임스탬프 대부분이 동일한 이유	

!
• history -c 명령 이 후에도 추출 가능한가	

!
• 원격 접속 세션에서 history -c 실행
forensicinsight.org
Case Study
• 히스토리 타임스탬프 대부분이 동일한 이유?	

• 히스토리 파일에 시간 정보가 없음	

• 프로세스가 히스토리 파일을 로드하고, 로드
시간으로 파일 내의 모든 히스토리 시간 정보
를 저장	

• 즉, 신규 입력된 명령어 이전의 히스토리의 시
간 정보를 명령어 실행 시간으로 오해하면 안됨.
forensicinsight.org
Case Study
• 히스토리 타임스탬프 대부분이 동일한 이유?
0x6DCB74A8 11746 1 255 0 com.apple.audio. _netbios(501,20) (501,20) Fri Nov 15 04:45:30 2013 	

0x161C0C9E8 11767 1 255 0 com.apple.WebKit _netbios(501,20) (501,20) Fri Nov 15 04:48:47 2013 	

0x163B0AA80 11935 247 255 0 Terminal chainbreaker(501,20) (501,20) Fri Nov 15 05:19:13 2013 	

0x1F8E8F000 11944 11935 255 0 login chainbreaker(0,20) (0,20) Fri Nov 15 05:19:22 2013 	

0x16110E950 11945 11944 255 0 bash chainbreaker(501,20) (501,20) Fri Nov 15 05:19:22 2013 	

0x8917D7E0 11987 303 255 0 mdworker _spotlight(89,89) (89,89) Fri Nov 15 05:23:47 2013 	

0x18E5ED000 11988 11945 255 0 sudo chainbreaker(0,20) (0,20) Fri Nov 15 05:23:48 2013 	

0x87DFF748 11989 11988 255 0 osxpmem chainbreaker(0,0) (0,0) Fri Nov 15 05:23:48 2013 	

0x8657E540 11990 8781 255 0 thnuclnt chainbreaker(501,20) (501,20) Fri Nov 15 05:24:06 2013
11945 bash Fri Nov 15 05:19:22 2013 python vol.py -i ../test.mem -o lsof	

11945 bash Fri Nov 15 05:19:22 2013 python vol.py -i ../test.mem -o ps -x 1541	

11945 bash Fri Nov 15 05:19:22 2013 ls	

11945 bash Fri Nov 15 05:19:22 2013 file 1541-bash-	

11945 bash Fri Nov 15 05:19:22 2013 file 1541-bash-*	

11945 bash Fri Nov 15 05:19:22 2013 rm 1541-bash-*	

11945 bash Fri Nov 15 05:19:22 2013 python vol.py -i ../test.mem -o ps | grep securityd	

11945 bash Fri Nov 15 05:19:22 2013 python vol.py -i ../test.mem -o ps -x 14	

11945 bash Fri Nov 15 05:19:22 2013 ls	

11945 bash Fri Nov 15 05:19:22 2013 ls	

11945 bash Fri Nov 15 05:19:22 2013 clear	

11945 bash Fri Nov 15 05:19:22 2013 ls
forensicinsight.org
Case Study
• history -c 명령어 이 후 추출 가능 여부	

• 실험 방법	

• bash 프로세스 실행	

• 메모리 덤프 후 히스토리 추출	

• history -c 명령 실행 후, 히스토리 추출	

• 결론 : 시간 정보만 존재하고 명령어 삭제
forensicinsight.org
Case Study
• history -c 명령어 이 후 추출 가능 여부
11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:19:22 2013 	

11945 bash Fri Nov 15 05:23:41 2013 ./osxpmem -f raw historyc.bin	

11945 bash Fri Nov 15 05:23:48 2013 sudo ./osxpmem -f raw historyc.bin	

11945 bash Fri Nov 15 05:23:29 2013 ls	

11945 bash Fri Nov 15 05:20:05 2013
forensicinsight.org
Case Study
• 원격으로 붙은 쉘에서 history -c 를 실행	

• 실험 방법	

• bash 프로세스 여러 개 실행	

• 하나의 bash 프로세스에서 history -c 실행	

• 메모리 덤프 후 분석	

• 결론 : 해당 bash history 내역만 삭제
forensicinsight.org
Case Study
chainbreaker@testmachine:~/volafox$ python vol.py -i ../dump2.bin -o bash_history	

[+] PID : 328, PROCESS: bash, HISTORY COUNT: 40	

[+] PID : 586, PROCESS: bash, HISTORY COUNT: 19	

[+] PID : 619, PROCESS: bash, HISTORY COUNT: 0	

[+] PID : 769, PROCESS: bash, HISTORY COUNT: 4	

PID PROCESS TIME (UTC+0) CMD	

328 bash Fri Nov 15 06:11:12 2013 ls	

328 bash Fri Nov 15 06:12:24 2013 python vol.py -i ../after.bin -o uname	

328 bash Fri Nov 15 06:11:39 2013 cd volafox	

328 bash Fri Nov 15 05:31:35 2013 cd /tmp/	

328 bash Fri Nov 15 06:11:04 2013 ls	

328 bash Fri Nov 15 05:32:27 2013 sudo ./osxpmem -f raw after.bin	

328 bash Fri Nov 15 06:13:09 2013 clear	

328 bash Fri Nov 15 06:11:07 2013 sudo mv after.bin ~	

328 bash Fri Nov 15 05:31:27 2013 cat ~/.bash_history 	

328 bash Fri Nov 15 05:31:36 2013 ls	

328 bash Fri Nov 15 06:11:39 2013 ls	

328 bash Fri Nov 15 05:32:18 2013 ls -al	

328 bash Fri Nov 15 06:11:20 2013 sudo chown n0fate:staff after.bin 	

328 bash Fri Nov 15 06:11:27 2013 sudo chown chainbreaker:staff after.bin 	

328 bash Fri Nov 15 05:31:11 2013 ls	

328 bash Fri Nov 15 05:31:11 2013 ./osxpmem -f raw historyc.bin	

328 bash Fri Nov 15 05:31:11 2013 sudo ./osxpmem -f raw historyc.bin	

328 bash Fri Nov 15 05:31:11 2013 ls	

328 bash Fri Nov 15 05:31:11 2013 ls -al	

328 bash Fri Nov 15 05:31:11 2013 sudo mv *.bin ~	

328 bash Fri Nov 15 05:31:11 2013 cd ~	

328 bash Fri Nov 15 05:31:11 2013 sudo chown chainbreaker:staff *.bin	

328 bash Fri Nov 15 05:31:11 2013 chmod 664 *.bin	

328 bash Fri Nov 15 05:31:11 2013 ls -al	

328 bash Fri Nov 15 05:31:11 2013 cd volafox	

328 bash Fri Nov 15 05:31:11 2013 python vol.py -i ../dump.bin -o ps	

328 bash Fri Nov 15 05:31:11 2013 python vol.py -i ../dump.bin -o bash_history	

328 bash Fri Nov 15 05:31:11 2013 python vol.py -i ../historyc.bin -o bash_history	

328 bash Fri Nov 15 05:31:11 2013 sudo reboot	

328 bash Fri Nov 15 06:11:12 2013 cd ~	

328 bash Fri Nov 15 05:32:15 2013 lsa	

328 bash Fri Nov 15 05:32:11 2013 sudo chown -R root:wheel OSXPMem	

328 bash Fri Nov 15 05:32:02 2013 chown -R root:wheel OSXPMem	

328 bash Fri Nov 15 06:13:17 2013 history	

328 bash Fri Nov 15 05:32:15 2013 cd OSXPMem/	

328 bash Fri Nov 15 06:11:44 2013 python vol.py -i ../after.bin -o ps	

328 bash Fri Nov 15 06:12:47 2013 python vol.py -i ../after.bin -o ps	

328 bash Fri Nov 15 06:11:36 2013 sudo chmod 644 after.bin 	

328 bash Fri Nov 15 06:12:44 2013 python vol.py -i ../after.bin -o kextstat	

328 bash Fri Nov 15 06:13:51 2013 history	

586 bash Fri Nov 15 05:31:43 2013 cd Downloads/	

586 bash Fri Nov 15 05:31:41 2013 cd ~	

586 bash Fri Nov 15 05:31:41 2013 python vol.py -i ../dump.bin -o bash_history	

586 bash Fri Nov 15 05:31:41 2013 cd volafox	

586 bash Fri Nov 15 05:31:41 2013 python vol.py -i ../dump.bin -o ps	

586 bash Fri Nov 15 05:31:41 2013 ls -al	

586 bash Fri Nov 15 05:31:41 2013 sudo chown chainbreaker:staff *.bin	

586 bash Fri Nov 15 05:31:41 2013 chmod 664 *.bin	

586 bash Fri Nov 15 05:31:41 2013 ls	

586 bash Fri Nov 15 05:31:41 2013 ls	

586 bash Fri Nov 15 05:31:41 2013 sudo mv *.bin ~	

586 bash Fri Nov 15 05:31:41 2013 ./osxpmem -f raw historyc.bin	

586 bash Fri Nov 15 05:31:41 2013 sudo ./osxpmem -f raw historyc.bin	

586 bash Fri Nov 15 05:31:43 2013 ls	

586 bash Fri Nov 15 05:31:41 2013 python vol.py -i ../historyc.bin -o bash_history	

586 bash Fri Nov 15 05:31:41 2013 sudo reboot	

586 bash Fri Nov 15 05:31:41 2013 ls -al	

586 bash Fri Nov 15 05:31:48 2013 tar xvf OSXPMem-RC1.tar 	

586 bash Fri Nov 15 05:31:54 2013 mv OSXPMem /tmp	

769 bash Fri Nov 15 06:14:08 2013 cd OSXPMem/	

769 bash Fri Nov 15 06:14:22 2013 sudo ./osxpmem -f raw dump2.bin	

769 bash Fri Nov 15 06:14:01 2013 cd /tmp/	

769 bash Fri Nov 15 06:14:01 2013 ls	

chainbreaker@testmachine:~/volafox$
forensicinsight.org
Q & A
n0fate@n0fate.com

More Related Content

What's hot

Git: An introduction of plumbing and porcelain commands
Git: An introduction of plumbing and porcelain commandsGit: An introduction of plumbing and porcelain commands
Git: An introduction of plumbing and porcelain commandsth507
 
今日から始めるPlan 9 from Bell Labs
今日から始めるPlan 9 from Bell Labs今日から始めるPlan 9 from Bell Labs
今日から始めるPlan 9 from Bell LabsRyousei Takano
 
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGI
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGIEuroPython 2014 - How we switched our 800+ projects from Apache to uWSGI
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGIMax Tepkeev
 
Version Control and Git - GitHub Workshop
Version Control and Git - GitHub WorkshopVersion Control and Git - GitHub Workshop
Version Control and Git - GitHub WorkshopAll Things Open
 
Bpf performance tools chapter 4 bcc
Bpf performance tools chapter 4   bccBpf performance tools chapter 4   bcc
Bpf performance tools chapter 4 bccViller Hsiao
 
Low Overhead System Tracing with eBPF
Low Overhead System Tracing with eBPFLow Overhead System Tracing with eBPF
Low Overhead System Tracing with eBPFAkshay Kapoor
 
Docker to the Rescue of an Ops Team
Docker to the Rescue of an Ops TeamDocker to the Rescue of an Ops Team
Docker to the Rescue of an Ops TeamRachid Zarouali
 
Python by Martin Geisler
Python by Martin GeislerPython by Martin Geisler
Python by Martin GeislerAberla
 
Deconstruct 2017: All programmers MUST learn C and Assembly
Deconstruct 2017: All programmers MUST learn C and AssemblyDeconstruct 2017: All programmers MUST learn C and Assembly
Deconstruct 2017: All programmers MUST learn C and Assemblyice799
 
IL: 失われたプロトコル
IL: 失われたプロトコルIL: 失われたプロトコル
IL: 失われたプロトコルRyousei Takano
 
Linux System Monitoring with eBPF
Linux System Monitoring with eBPFLinux System Monitoring with eBPF
Linux System Monitoring with eBPFHeinrich Hartmann
 
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...Ontico
 
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...Андрей Шорин
 
ch8-pv1-the-virtual-filesystem
ch8-pv1-the-virtual-filesystemch8-pv1-the-virtual-filesystem
ch8-pv1-the-virtual-filesystemyushiang fu
 
Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!Ray Jenkins
 
Update Lexia 3 DiagBox 7.61
Update Lexia 3 DiagBox 7.61 Update Lexia 3 DiagBox 7.61
Update Lexia 3 DiagBox 7.61 buyobdii
 
Trace kernel code tips
Trace kernel code tipsTrace kernel code tips
Trace kernel code tipsViller Hsiao
 

What's hot (20)

Git: An introduction of plumbing and porcelain commands
Git: An introduction of plumbing and porcelain commandsGit: An introduction of plumbing and porcelain commands
Git: An introduction of plumbing and porcelain commands
 
eBPF Workshop
eBPF WorkshopeBPF Workshop
eBPF Workshop
 
今日から始めるPlan 9 from Bell Labs
今日から始めるPlan 9 from Bell Labs今日から始めるPlan 9 from Bell Labs
今日から始めるPlan 9 from Bell Labs
 
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGI
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGIEuroPython 2014 - How we switched our 800+ projects from Apache to uWSGI
EuroPython 2014 - How we switched our 800+ projects from Apache to uWSGI
 
Version Control and Git - GitHub Workshop
Version Control and Git - GitHub WorkshopVersion Control and Git - GitHub Workshop
Version Control and Git - GitHub Workshop
 
CentOS 7 入門
CentOS 7 入門CentOS 7 入門
CentOS 7 入門
 
Bpf performance tools chapter 4 bcc
Bpf performance tools chapter 4   bccBpf performance tools chapter 4   bcc
Bpf performance tools chapter 4 bcc
 
Low Overhead System Tracing with eBPF
Low Overhead System Tracing with eBPFLow Overhead System Tracing with eBPF
Low Overhead System Tracing with eBPF
 
Docker to the Rescue of an Ops Team
Docker to the Rescue of an Ops TeamDocker to the Rescue of an Ops Team
Docker to the Rescue of an Ops Team
 
Python by Martin Geisler
Python by Martin GeislerPython by Martin Geisler
Python by Martin Geisler
 
Deconstruct 2017: All programmers MUST learn C and Assembly
Deconstruct 2017: All programmers MUST learn C and AssemblyDeconstruct 2017: All programmers MUST learn C and Assembly
Deconstruct 2017: All programmers MUST learn C and Assembly
 
IL: 失われたプロトコル
IL: 失われたプロトコルIL: 失われたプロトコル
IL: 失われたプロトコル
 
Linux System Monitoring with eBPF
Linux System Monitoring with eBPFLinux System Monitoring with eBPF
Linux System Monitoring with eBPF
 
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
 
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
 
Git Crash Course
Git Crash CourseGit Crash Course
Git Crash Course
 
ch8-pv1-the-virtual-filesystem
ch8-pv1-the-virtual-filesystemch8-pv1-the-virtual-filesystem
ch8-pv1-the-virtual-filesystem
 
Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!
 
Update Lexia 3 DiagBox 7.61
Update Lexia 3 DiagBox 7.61 Update Lexia 3 DiagBox 7.61
Update Lexia 3 DiagBox 7.61
 
Trace kernel code tips
Trace kernel code tipsTrace kernel code tips
Trace kernel code tips
 

Viewers also liked

(141031) #fitalk os x yosemite artifacts
(141031) #fitalk   os x yosemite artifacts(141031) #fitalk   os x yosemite artifacts
(141031) #fitalk os x yosemite artifactsINSIGHT FORENSIC
 
(121013) #fitalk ie 10 forensics
(121013) #fitalk   ie 10 forensics(121013) #fitalk   ie 10 forensics
(121013) #fitalk ie 10 forensicsINSIGHT FORENSIC
 
(121202) #fitalk trends in d forensics (nov, 2012)
(121202) #fitalk   trends in d forensics (nov, 2012)(121202) #fitalk   trends in d forensics (nov, 2012)
(121202) #fitalk trends in d forensics (nov, 2012)INSIGHT FORENSIC
 
(130427) #fitalk digital evidence requires a c.a.
(130427) #fitalk   digital evidence requires a c.a.(130427) #fitalk   digital evidence requires a c.a.
(130427) #fitalk digital evidence requires a c.a.INSIGHT FORENSIC
 
(120128) #fitalk sql server anti-forensics
(120128) #fitalk   sql server anti-forensics(120128) #fitalk   sql server anti-forensics
(120128) #fitalk sql server anti-forensicsINSIGHT FORENSIC
 
Drama Cempaka Berdarah
Drama Cempaka BerdarahDrama Cempaka Berdarah
Drama Cempaka BerdarahAzwira Ariwana
 
(120211) #fitalk sq lite record recovery
(120211) #fitalk   sq lite record recovery(120211) #fitalk   sq lite record recovery
(120211) #fitalk sq lite record recoveryINSIGHT FORENSIC
 
Drama Forum Remaja 2020
Drama Forum Remaja 2020Drama Forum Remaja 2020
Drama Forum Remaja 2020Azwira Ariwana
 
Lombokのススメ
LombokのススメLombokのススメ
Lombokのススメなべ
 
(Fios#03) 1. 실전 윈도 악성코드 메모리 분석
(Fios#03) 1. 실전 윈도 악성코드 메모리 분석(Fios#03) 1. 실전 윈도 악성코드 메모리 분석
(Fios#03) 1. 실전 윈도 악성코드 메모리 분석INSIGHT FORENSIC
 
(130608) #fitalk trends in d forensics (may, 2013)
(130608) #fitalk   trends in d forensics (may, 2013)(130608) #fitalk   trends in d forensics (may, 2013)
(130608) #fitalk trends in d forensics (may, 2013)INSIGHT FORENSIC
 
(131102) #fitalk get windows logon password in memory dump
(131102) #fitalk   get windows logon password in memory dump(131102) #fitalk   get windows logon password in memory dump
(131102) #fitalk get windows logon password in memory dumpINSIGHT FORENSIC
 
(130119) #fitalk all about physical data recovery
(130119) #fitalk   all about physical data recovery(130119) #fitalk   all about physical data recovery
(130119) #fitalk all about physical data recoveryINSIGHT FORENSIC
 
(130216) #fitalk potentially malicious ur ls
(130216) #fitalk   potentially malicious ur ls(130216) #fitalk   potentially malicious ur ls
(130216) #fitalk potentially malicious ur lsINSIGHT FORENSIC
 
(130727) #fitalk rp log tracker
(130727) #fitalk   rp log tracker(130727) #fitalk   rp log tracker
(130727) #fitalk rp log trackerINSIGHT FORENSIC
 
(130202) #fitalk trends in d forensics (jan, 2013)
(130202) #fitalk   trends in d forensics (jan, 2013)(130202) #fitalk   trends in d forensics (jan, 2013)
(130202) #fitalk trends in d forensics (jan, 2013)INSIGHT FORENSIC
 
(140716) #fitalk digital evidence from android-based smartwatch
(140716) #fitalk   digital evidence from android-based smartwatch(140716) #fitalk   digital evidence from android-based smartwatch
(140716) #fitalk digital evidence from android-based smartwatchINSIGHT FORENSIC
 

Viewers also liked (20)

(141031) #fitalk os x yosemite artifacts
(141031) #fitalk   os x yosemite artifacts(141031) #fitalk   os x yosemite artifacts
(141031) #fitalk os x yosemite artifacts
 
(121013) #fitalk ie 10 forensics
(121013) #fitalk   ie 10 forensics(121013) #fitalk   ie 10 forensics
(121013) #fitalk ie 10 forensics
 
(121202) #fitalk trends in d forensics (nov, 2012)
(121202) #fitalk   trends in d forensics (nov, 2012)(121202) #fitalk   trends in d forensics (nov, 2012)
(121202) #fitalk trends in d forensics (nov, 2012)
 
(130427) #fitalk digital evidence requires a c.a.
(130427) #fitalk   digital evidence requires a c.a.(130427) #fitalk   digital evidence requires a c.a.
(130427) #fitalk digital evidence requires a c.a.
 
(120128) #fitalk sql server anti-forensics
(120128) #fitalk   sql server anti-forensics(120128) #fitalk   sql server anti-forensics
(120128) #fitalk sql server anti-forensics
 
Drama 1400
Drama 1400Drama 1400
Drama 1400
 
Drama Cempaka Berdarah
Drama Cempaka BerdarahDrama Cempaka Berdarah
Drama Cempaka Berdarah
 
(120211) #fitalk sq lite record recovery
(120211) #fitalk   sq lite record recovery(120211) #fitalk   sq lite record recovery
(120211) #fitalk sq lite record recovery
 
Drama Forum Remaja 2020
Drama Forum Remaja 2020Drama Forum Remaja 2020
Drama Forum Remaja 2020
 
Internet Marketing
Internet MarketingInternet Marketing
Internet Marketing
 
Lombokのススメ
LombokのススメLombokのススメ
Lombokのススメ
 
(Fios#03) 1. 실전 윈도 악성코드 메모리 분석
(Fios#03) 1. 실전 윈도 악성코드 메모리 분석(Fios#03) 1. 실전 윈도 악성코드 메모리 분석
(Fios#03) 1. 실전 윈도 악성코드 메모리 분석
 
Hikayat Raja Pasai
Hikayat Raja PasaiHikayat Raja Pasai
Hikayat Raja Pasai
 
(130608) #fitalk trends in d forensics (may, 2013)
(130608) #fitalk   trends in d forensics (may, 2013)(130608) #fitalk   trends in d forensics (may, 2013)
(130608) #fitalk trends in d forensics (may, 2013)
 
(131102) #fitalk get windows logon password in memory dump
(131102) #fitalk   get windows logon password in memory dump(131102) #fitalk   get windows logon password in memory dump
(131102) #fitalk get windows logon password in memory dump
 
(130119) #fitalk all about physical data recovery
(130119) #fitalk   all about physical data recovery(130119) #fitalk   all about physical data recovery
(130119) #fitalk all about physical data recovery
 
(130216) #fitalk potentially malicious ur ls
(130216) #fitalk   potentially malicious ur ls(130216) #fitalk   potentially malicious ur ls
(130216) #fitalk potentially malicious ur ls
 
(130727) #fitalk rp log tracker
(130727) #fitalk   rp log tracker(130727) #fitalk   rp log tracker
(130727) #fitalk rp log tracker
 
(130202) #fitalk trends in d forensics (jan, 2013)
(130202) #fitalk   trends in d forensics (jan, 2013)(130202) #fitalk   trends in d forensics (jan, 2013)
(130202) #fitalk trends in d forensics (jan, 2013)
 
(140716) #fitalk digital evidence from android-based smartwatch
(140716) #fitalk   digital evidence from android-based smartwatch(140716) #fitalk   digital evidence from android-based smartwatch
(140716) #fitalk digital evidence from android-based smartwatch
 

Similar to (131116) #fitalk extracting user typing history on bash in mac os x memory

Bash in theory and in practice - part one
Bash in theory and in practice - part oneBash in theory and in practice - part one
Bash in theory and in practice - part oneValerio Balbi
 
Ultimate Unix Meetup Presentation
Ultimate Unix Meetup PresentationUltimate Unix Meetup Presentation
Ultimate Unix Meetup PresentationJacobMenke1
 
OSDC 2017 | Mgmt Config: Autonomous systems by James Shubin
OSDC 2017 | Mgmt Config: Autonomous systems by James ShubinOSDC 2017 | Mgmt Config: Autonomous systems by James Shubin
OSDC 2017 | Mgmt Config: Autonomous systems by James ShubinNETWAYS
 
OSDC 2017 - James Shubin - MGMT config autonomous systems
OSDC 2017 - James Shubin - MGMT config autonomous systemsOSDC 2017 - James Shubin - MGMT config autonomous systems
OSDC 2017 - James Shubin - MGMT config autonomous systemsNETWAYS
 
Software Quality Assurance Tooling 2023
Software Quality Assurance Tooling 2023Software Quality Assurance Tooling 2023
Software Quality Assurance Tooling 2023Henry Schreiner
 
From Arm to Z: Building, Shipping, and Running a Multi-platform Docker Swarm ...
From Arm to Z: Building, Shipping, and Running a Multi-platform Docker Swarm ...From Arm to Z: Building, Shipping, and Running a Multi-platform Docker Swarm ...
From Arm to Z: Building, Shipping, and Running a Multi-platform Docker Swarm ...Docker, Inc.
 
A to Z of a Multi-platform Docker Swarm: Building, Shipping, and Running Mult...
A to Z of a Multi-platform Docker Swarm: Building, Shipping, and Running Mult...A to Z of a Multi-platform Docker Swarm: Building, Shipping, and Running Mult...
A to Z of a Multi-platform Docker Swarm: Building, Shipping, and Running Mult...Christy Norman
 
Apache Hadoop Shell Rewrite
Apache Hadoop Shell RewriteApache Hadoop Shell Rewrite
Apache Hadoop Shell RewriteAllen Wittenauer
 
Tool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - XhprofTool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - Xhproftoolitup
 
Designing Tracing Tools
Designing Tracing ToolsDesigning Tracing Tools
Designing Tracing ToolsBrendan Gregg
 
Launch the First Process in Linux System
Launch the First Process in Linux SystemLaunch the First Process in Linux System
Launch the First Process in Linux SystemJian-Hong Pan
 
リバースプロキシで webサーバを集約 ついでにdocker化しよう
リバースプロキシでwebサーバを集約ついでにdocker化しようリバースプロキシでwebサーバを集約ついでにdocker化しよう
リバースプロキシで webサーバを集約 ついでにdocker化しようYasunori Kuji
 
Princeton Wintersession: Software Quality Assurance Tooling
Princeton Wintersession: Software Quality Assurance ToolingPrinceton Wintersession: Software Quality Assurance Tooling
Princeton Wintersession: Software Quality Assurance ToolingHenry Schreiner
 
Designing Tracing Tools
Designing Tracing ToolsDesigning Tracing Tools
Designing Tracing ToolsSysdig
 
Will iPython replace Bash?
Will iPython replace Bash?Will iPython replace Bash?
Will iPython replace Bash?Babel
 
Will iPython replace bash?
Will iPython replace bash?Will iPython replace bash?
Will iPython replace bash?Roberto Polli
 
How to stay sane during your Vagrant journey
How to stay sane during your Vagrant journeyHow to stay sane during your Vagrant journey
How to stay sane during your Vagrant journeyJakub Wadolowski
 
44CON London 2015 - 15-Minute Linux Incident Response Live Analysis
44CON London 2015 - 15-Minute Linux Incident Response Live Analysis44CON London 2015 - 15-Minute Linux Incident Response Live Analysis
44CON London 2015 - 15-Minute Linux Incident Response Live Analysis44CON
 
A Journey to Boot Linux on Raspberry Pi
A Journey to Boot Linux on Raspberry PiA Journey to Boot Linux on Raspberry Pi
A Journey to Boot Linux on Raspberry PiJian-Hong Pan
 
Open Source Tools for Leveling Up Operations FOSSET 2014
Open Source Tools for Leveling Up Operations FOSSET 2014Open Source Tools for Leveling Up Operations FOSSET 2014
Open Source Tools for Leveling Up Operations FOSSET 2014Mandi Walls
 

Similar to (131116) #fitalk extracting user typing history on bash in mac os x memory (20)

Bash in theory and in practice - part one
Bash in theory and in practice - part oneBash in theory and in practice - part one
Bash in theory and in practice - part one
 
Ultimate Unix Meetup Presentation
Ultimate Unix Meetup PresentationUltimate Unix Meetup Presentation
Ultimate Unix Meetup Presentation
 
OSDC 2017 | Mgmt Config: Autonomous systems by James Shubin
OSDC 2017 | Mgmt Config: Autonomous systems by James ShubinOSDC 2017 | Mgmt Config: Autonomous systems by James Shubin
OSDC 2017 | Mgmt Config: Autonomous systems by James Shubin
 
OSDC 2017 - James Shubin - MGMT config autonomous systems
OSDC 2017 - James Shubin - MGMT config autonomous systemsOSDC 2017 - James Shubin - MGMT config autonomous systems
OSDC 2017 - James Shubin - MGMT config autonomous systems
 
Software Quality Assurance Tooling 2023
Software Quality Assurance Tooling 2023Software Quality Assurance Tooling 2023
Software Quality Assurance Tooling 2023
 
From Arm to Z: Building, Shipping, and Running a Multi-platform Docker Swarm ...
From Arm to Z: Building, Shipping, and Running a Multi-platform Docker Swarm ...From Arm to Z: Building, Shipping, and Running a Multi-platform Docker Swarm ...
From Arm to Z: Building, Shipping, and Running a Multi-platform Docker Swarm ...
 
A to Z of a Multi-platform Docker Swarm: Building, Shipping, and Running Mult...
A to Z of a Multi-platform Docker Swarm: Building, Shipping, and Running Mult...A to Z of a Multi-platform Docker Swarm: Building, Shipping, and Running Mult...
A to Z of a Multi-platform Docker Swarm: Building, Shipping, and Running Mult...
 
Apache Hadoop Shell Rewrite
Apache Hadoop Shell RewriteApache Hadoop Shell Rewrite
Apache Hadoop Shell Rewrite
 
Tool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - XhprofTool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - Xhprof
 
Designing Tracing Tools
Designing Tracing ToolsDesigning Tracing Tools
Designing Tracing Tools
 
Launch the First Process in Linux System
Launch the First Process in Linux SystemLaunch the First Process in Linux System
Launch the First Process in Linux System
 
リバースプロキシで webサーバを集約 ついでにdocker化しよう
リバースプロキシでwebサーバを集約ついでにdocker化しようリバースプロキシでwebサーバを集約ついでにdocker化しよう
リバースプロキシで webサーバを集約 ついでにdocker化しよう
 
Princeton Wintersession: Software Quality Assurance Tooling
Princeton Wintersession: Software Quality Assurance ToolingPrinceton Wintersession: Software Quality Assurance Tooling
Princeton Wintersession: Software Quality Assurance Tooling
 
Designing Tracing Tools
Designing Tracing ToolsDesigning Tracing Tools
Designing Tracing Tools
 
Will iPython replace Bash?
Will iPython replace Bash?Will iPython replace Bash?
Will iPython replace Bash?
 
Will iPython replace bash?
Will iPython replace bash?Will iPython replace bash?
Will iPython replace bash?
 
How to stay sane during your Vagrant journey
How to stay sane during your Vagrant journeyHow to stay sane during your Vagrant journey
How to stay sane during your Vagrant journey
 
44CON London 2015 - 15-Minute Linux Incident Response Live Analysis
44CON London 2015 - 15-Minute Linux Incident Response Live Analysis44CON London 2015 - 15-Minute Linux Incident Response Live Analysis
44CON London 2015 - 15-Minute Linux Incident Response Live Analysis
 
A Journey to Boot Linux on Raspberry Pi
A Journey to Boot Linux on Raspberry PiA Journey to Boot Linux on Raspberry Pi
A Journey to Boot Linux on Raspberry Pi
 
Open Source Tools for Leveling Up Operations FOSSET 2014
Open Source Tools for Leveling Up Operations FOSSET 2014Open Source Tools for Leveling Up Operations FOSSET 2014
Open Source Tools for Leveling Up Operations FOSSET 2014
 

More from INSIGHT FORENSIC

(160820) #fitalk fileless malware forensics
(160820) #fitalk    fileless malware forensics(160820) #fitalk    fileless malware forensics
(160820) #fitalk fileless malware forensicsINSIGHT FORENSIC
 
(150124) #fitalk advanced $usn jrnl forensics (korean)
(150124) #fitalk   advanced $usn jrnl forensics (korean)(150124) #fitalk   advanced $usn jrnl forensics (korean)
(150124) #fitalk advanced $usn jrnl forensics (korean)INSIGHT FORENSIC
 
(150124) #fitalk advanced $usn jrnl forensics (english)
(150124) #fitalk   advanced $usn jrnl forensics (english)(150124) #fitalk   advanced $usn jrnl forensics (english)
(150124) #fitalk advanced $usn jrnl forensics (english)INSIGHT FORENSIC
 
(140118) #fitalk detection of anti-forensics artifacts using ioa fs
(140118) #fitalk   detection of anti-forensics artifacts using ioa fs(140118) #fitalk   detection of anti-forensics artifacts using ioa fs
(140118) #fitalk detection of anti-forensics artifacts using ioa fsINSIGHT FORENSIC
 
(140118) #fitalk 2013 e-discovery trend
(140118) #fitalk   2013 e-discovery trend(140118) #fitalk   2013 e-discovery trend
(140118) #fitalk 2013 e-discovery trendINSIGHT FORENSIC
 
(141031) #fitalk plaso 슈퍼 타임라인 분석 도구 활용 방안
(141031) #fitalk   plaso 슈퍼 타임라인 분석 도구 활용 방안(141031) #fitalk   plaso 슈퍼 타임라인 분석 도구 활용 방안
(141031) #fitalk plaso 슈퍼 타임라인 분석 도구 활용 방안INSIGHT FORENSIC
 
(140716) #fitalk 전자금융사고에서의 디지털 포렌식
(140716) #fitalk   전자금융사고에서의 디지털 포렌식(140716) #fitalk   전자금융사고에서의 디지털 포렌식
(140716) #fitalk 전자금융사고에서의 디지털 포렌식INSIGHT FORENSIC
 
(140625) #fitalk sq lite 소개와 구조 분석
(140625) #fitalk   sq lite 소개와 구조 분석(140625) #fitalk   sq lite 소개와 구조 분석
(140625) #fitalk sq lite 소개와 구조 분석INSIGHT FORENSIC
 
(140407) #fitalk d trace를 이용한 악성코드 동적 분석
(140407) #fitalk   d trace를 이용한 악성코드 동적 분석(140407) #fitalk   d trace를 이용한 악성코드 동적 분석
(140407) #fitalk d trace를 이용한 악성코드 동적 분석INSIGHT FORENSIC
 
(140625) #fitalk sq lite 삭제된 레코드 복구 기법
(140625) #fitalk   sq lite 삭제된 레코드 복구 기법(140625) #fitalk   sq lite 삭제된 레코드 복구 기법
(140625) #fitalk sq lite 삭제된 레코드 복구 기법INSIGHT FORENSIC
 
(130216) #fitalk reverse connection tool analysis
(130216) #fitalk   reverse connection tool analysis(130216) #fitalk   reverse connection tool analysis
(130216) #fitalk reverse connection tool analysisINSIGHT FORENSIC
 
(130202) #fitalk china threat
(130202) #fitalk   china threat(130202) #fitalk   china threat
(130202) #fitalk china threatINSIGHT FORENSIC
 
(130119) #fitalk sql server forensics
(130119) #fitalk   sql server forensics(130119) #fitalk   sql server forensics
(130119) #fitalk sql server forensicsINSIGHT FORENSIC
 
(130119) #fitalk apt, cyber espionage threat
(130119) #fitalk   apt, cyber espionage threat(130119) #fitalk   apt, cyber espionage threat
(130119) #fitalk apt, cyber espionage threatINSIGHT FORENSIC
 
(130105) #fitalk trends in d forensics (dec, 2012)
(130105) #fitalk   trends in d forensics (dec, 2012)(130105) #fitalk   trends in d forensics (dec, 2012)
(130105) #fitalk trends in d forensics (dec, 2012)INSIGHT FORENSIC
 
(130105) #fitalk criminal civil judicial procedure in korea
(130105) #fitalk   criminal civil judicial procedure in korea(130105) #fitalk   criminal civil judicial procedure in korea
(130105) #fitalk criminal civil judicial procedure in koreaINSIGHT FORENSIC
 
(130928) #fitalk cloud storage forensics - dropbox
(130928) #fitalk   cloud storage forensics - dropbox(130928) #fitalk   cloud storage forensics - dropbox
(130928) #fitalk cloud storage forensics - dropboxINSIGHT FORENSIC
 
(130907) #fitalk generating volatility linux profile
(130907) #fitalk   generating volatility linux profile(130907) #fitalk   generating volatility linux profile
(130907) #fitalk generating volatility linux profileINSIGHT FORENSIC
 
(130727) #fitalk pfp (portable forensic platform), #2 story
(130727) #fitalk   pfp (portable forensic platform), #2 story(130727) #fitalk   pfp (portable forensic platform), #2 story
(130727) #fitalk pfp (portable forensic platform), #2 storyINSIGHT FORENSIC
 
(130727) #fitalk anonymous network concepts and implementation
(130727) #fitalk   anonymous network concepts and implementation(130727) #fitalk   anonymous network concepts and implementation
(130727) #fitalk anonymous network concepts and implementationINSIGHT FORENSIC
 

More from INSIGHT FORENSIC (20)

(160820) #fitalk fileless malware forensics
(160820) #fitalk    fileless malware forensics(160820) #fitalk    fileless malware forensics
(160820) #fitalk fileless malware forensics
 
(150124) #fitalk advanced $usn jrnl forensics (korean)
(150124) #fitalk   advanced $usn jrnl forensics (korean)(150124) #fitalk   advanced $usn jrnl forensics (korean)
(150124) #fitalk advanced $usn jrnl forensics (korean)
 
(150124) #fitalk advanced $usn jrnl forensics (english)
(150124) #fitalk   advanced $usn jrnl forensics (english)(150124) #fitalk   advanced $usn jrnl forensics (english)
(150124) #fitalk advanced $usn jrnl forensics (english)
 
(140118) #fitalk detection of anti-forensics artifacts using ioa fs
(140118) #fitalk   detection of anti-forensics artifacts using ioa fs(140118) #fitalk   detection of anti-forensics artifacts using ioa fs
(140118) #fitalk detection of anti-forensics artifacts using ioa fs
 
(140118) #fitalk 2013 e-discovery trend
(140118) #fitalk   2013 e-discovery trend(140118) #fitalk   2013 e-discovery trend
(140118) #fitalk 2013 e-discovery trend
 
(141031) #fitalk plaso 슈퍼 타임라인 분석 도구 활용 방안
(141031) #fitalk   plaso 슈퍼 타임라인 분석 도구 활용 방안(141031) #fitalk   plaso 슈퍼 타임라인 분석 도구 활용 방안
(141031) #fitalk plaso 슈퍼 타임라인 분석 도구 활용 방안
 
(140716) #fitalk 전자금융사고에서의 디지털 포렌식
(140716) #fitalk   전자금융사고에서의 디지털 포렌식(140716) #fitalk   전자금융사고에서의 디지털 포렌식
(140716) #fitalk 전자금융사고에서의 디지털 포렌식
 
(140625) #fitalk sq lite 소개와 구조 분석
(140625) #fitalk   sq lite 소개와 구조 분석(140625) #fitalk   sq lite 소개와 구조 분석
(140625) #fitalk sq lite 소개와 구조 분석
 
(140407) #fitalk d trace를 이용한 악성코드 동적 분석
(140407) #fitalk   d trace를 이용한 악성코드 동적 분석(140407) #fitalk   d trace를 이용한 악성코드 동적 분석
(140407) #fitalk d trace를 이용한 악성코드 동적 분석
 
(140625) #fitalk sq lite 삭제된 레코드 복구 기법
(140625) #fitalk   sq lite 삭제된 레코드 복구 기법(140625) #fitalk   sq lite 삭제된 레코드 복구 기법
(140625) #fitalk sq lite 삭제된 레코드 복구 기법
 
(130216) #fitalk reverse connection tool analysis
(130216) #fitalk   reverse connection tool analysis(130216) #fitalk   reverse connection tool analysis
(130216) #fitalk reverse connection tool analysis
 
(130202) #fitalk china threat
(130202) #fitalk   china threat(130202) #fitalk   china threat
(130202) #fitalk china threat
 
(130119) #fitalk sql server forensics
(130119) #fitalk   sql server forensics(130119) #fitalk   sql server forensics
(130119) #fitalk sql server forensics
 
(130119) #fitalk apt, cyber espionage threat
(130119) #fitalk   apt, cyber espionage threat(130119) #fitalk   apt, cyber espionage threat
(130119) #fitalk apt, cyber espionage threat
 
(130105) #fitalk trends in d forensics (dec, 2012)
(130105) #fitalk   trends in d forensics (dec, 2012)(130105) #fitalk   trends in d forensics (dec, 2012)
(130105) #fitalk trends in d forensics (dec, 2012)
 
(130105) #fitalk criminal civil judicial procedure in korea
(130105) #fitalk   criminal civil judicial procedure in korea(130105) #fitalk   criminal civil judicial procedure in korea
(130105) #fitalk criminal civil judicial procedure in korea
 
(130928) #fitalk cloud storage forensics - dropbox
(130928) #fitalk   cloud storage forensics - dropbox(130928) #fitalk   cloud storage forensics - dropbox
(130928) #fitalk cloud storage forensics - dropbox
 
(130907) #fitalk generating volatility linux profile
(130907) #fitalk   generating volatility linux profile(130907) #fitalk   generating volatility linux profile
(130907) #fitalk generating volatility linux profile
 
(130727) #fitalk pfp (portable forensic platform), #2 story
(130727) #fitalk   pfp (portable forensic platform), #2 story(130727) #fitalk   pfp (portable forensic platform), #2 story
(130727) #fitalk pfp (portable forensic platform), #2 story
 
(130727) #fitalk anonymous network concepts and implementation
(130727) #fitalk   anonymous network concepts and implementation(130727) #fitalk   anonymous network concepts and implementation
(130727) #fitalk anonymous network concepts and implementation
 

Recently uploaded

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Recently uploaded (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

(131116) #fitalk extracting user typing history on bash in mac os x memory

  • 2. forensicinsight.org Contents • Introduction to bash history • history management • Extracting bash history • Case study • Conclusion
  • 3. forensicinsight.org Bash • Bourne-again shell • GNU 프로젝트를 위해 Brian Fox가 작성한 유 닉스 셸 • GNU OS, Linux, Mac OS X 기본 셸 • Cygwin이나 MinGW로 윈도에서 사용 가능 • 명령 히스토리, 디렉터리 스택, $RANDOM POSIX 형식 명령어 치환, 명령어 자동 완성
  • 4. forensicinsight.org Bash • When started as an interactive login shell: • /etc/profile, ~/.bash_profile, ~/.bash_login, /.profile • When a login shell exits : ~/.bash_logout • When started as an interactive shell : ~/.bashrc
  • 5. forensicinsight.org History Storage • 사용자 명령어를 저장하여 추 후 해당 명령어 를 바로 실행 시킬 수 있게 함 • ![HISTORY NUMBER] • 시간 값은 정의되어 있지 않으며, 실행한 명령 어를 ~/.bash_history에 순차적으로 기록 • Mac OS X는 500개의 히스토리를 기록
  • 6. forensicinsight.org History Storage • The history list is an array of history entries typedef void * histdata_t; typedef struct _hist_entry { char *line; char *timestamp; histdata_t data; } HIST_ENTRY; /* * A structure used to pass around the current state of the history. */ typedef struct _hist_state { HIST_ENTRY **entries; /* Pointer to the entries themselves. */ int offset; /* The location pointer within this array. */ int length; /* Number of elements within this array. */ int size; /* Number of slots allocated to this array. */ int flags; } HISTORY_STATE; reference : http://linux.die.net/man/3/history
  • 7. forensicinsight.org History Storage HISTORY_STATE HIST_ENTRY** HIST_ENTRY char* line char* timestamp void* data HIST_ENTRY char* line char* timestamp void* data sudo port install build-essential Thu Oct 24 08:35:36 2013 length (number of elements) size (number of slots allocated)
  • 8. forensicinsight.org Extracting bash history • 1. Live Forensics • ~/.bash_history 파일 추출 • History Functions 이용 (GNU History library) • 2. Memory Forensics • 맵핑된history 파일 추출 • bash 프로세스 영역에서 HIST_ENTRY 추출
  • 9. forensicinsight.org Extracting bash history memory image bash memory 1 bash memory 2 bash memory 3 bash memory 4 bash memory 5 bash process memory TEXT DATA STACK HEAP Space LIBRARY HEAP 0x7fdf68d00240 0x7fdf68d00240 0x7fdf68d00000 0x7fdf68e00000 HEAP HEAP
  • 11. forensicinsight.org Case Study • 히스토리 타임스탬프 대부분이 동일한 이유 ! • history -c 명령 이 후에도 추출 가능한가 ! • 원격 접속 세션에서 history -c 실행
  • 12. forensicinsight.org Case Study • 히스토리 타임스탬프 대부분이 동일한 이유? • 히스토리 파일에 시간 정보가 없음 • 프로세스가 히스토리 파일을 로드하고, 로드 시간으로 파일 내의 모든 히스토리 시간 정보 를 저장 • 즉, 신규 입력된 명령어 이전의 히스토리의 시 간 정보를 명령어 실행 시간으로 오해하면 안됨.
  • 13. forensicinsight.org Case Study • 히스토리 타임스탬프 대부분이 동일한 이유? 0x6DCB74A8 11746 1 255 0 com.apple.audio. _netbios(501,20) (501,20) Fri Nov 15 04:45:30 2013 0x161C0C9E8 11767 1 255 0 com.apple.WebKit _netbios(501,20) (501,20) Fri Nov 15 04:48:47 2013 0x163B0AA80 11935 247 255 0 Terminal chainbreaker(501,20) (501,20) Fri Nov 15 05:19:13 2013 0x1F8E8F000 11944 11935 255 0 login chainbreaker(0,20) (0,20) Fri Nov 15 05:19:22 2013 0x16110E950 11945 11944 255 0 bash chainbreaker(501,20) (501,20) Fri Nov 15 05:19:22 2013 0x8917D7E0 11987 303 255 0 mdworker _spotlight(89,89) (89,89) Fri Nov 15 05:23:47 2013 0x18E5ED000 11988 11945 255 0 sudo chainbreaker(0,20) (0,20) Fri Nov 15 05:23:48 2013 0x87DFF748 11989 11988 255 0 osxpmem chainbreaker(0,0) (0,0) Fri Nov 15 05:23:48 2013 0x8657E540 11990 8781 255 0 thnuclnt chainbreaker(501,20) (501,20) Fri Nov 15 05:24:06 2013 11945 bash Fri Nov 15 05:19:22 2013 python vol.py -i ../test.mem -o lsof 11945 bash Fri Nov 15 05:19:22 2013 python vol.py -i ../test.mem -o ps -x 1541 11945 bash Fri Nov 15 05:19:22 2013 ls 11945 bash Fri Nov 15 05:19:22 2013 file 1541-bash- 11945 bash Fri Nov 15 05:19:22 2013 file 1541-bash-* 11945 bash Fri Nov 15 05:19:22 2013 rm 1541-bash-* 11945 bash Fri Nov 15 05:19:22 2013 python vol.py -i ../test.mem -o ps | grep securityd 11945 bash Fri Nov 15 05:19:22 2013 python vol.py -i ../test.mem -o ps -x 14 11945 bash Fri Nov 15 05:19:22 2013 ls 11945 bash Fri Nov 15 05:19:22 2013 ls 11945 bash Fri Nov 15 05:19:22 2013 clear 11945 bash Fri Nov 15 05:19:22 2013 ls
  • 14. forensicinsight.org Case Study • history -c 명령어 이 후 추출 가능 여부 • 실험 방법 • bash 프로세스 실행 • 메모리 덤프 후 히스토리 추출 • history -c 명령 실행 후, 히스토리 추출 • 결론 : 시간 정보만 존재하고 명령어 삭제
  • 15. forensicinsight.org Case Study • history -c 명령어 이 후 추출 가능 여부 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:19:22 2013 11945 bash Fri Nov 15 05:23:41 2013 ./osxpmem -f raw historyc.bin 11945 bash Fri Nov 15 05:23:48 2013 sudo ./osxpmem -f raw historyc.bin 11945 bash Fri Nov 15 05:23:29 2013 ls 11945 bash Fri Nov 15 05:20:05 2013
  • 16. forensicinsight.org Case Study • 원격으로 붙은 쉘에서 history -c 를 실행 • 실험 방법 • bash 프로세스 여러 개 실행 • 하나의 bash 프로세스에서 history -c 실행 • 메모리 덤프 후 분석 • 결론 : 해당 bash history 내역만 삭제
  • 17. forensicinsight.org Case Study chainbreaker@testmachine:~/volafox$ python vol.py -i ../dump2.bin -o bash_history [+] PID : 328, PROCESS: bash, HISTORY COUNT: 40 [+] PID : 586, PROCESS: bash, HISTORY COUNT: 19 [+] PID : 619, PROCESS: bash, HISTORY COUNT: 0 [+] PID : 769, PROCESS: bash, HISTORY COUNT: 4 PID PROCESS TIME (UTC+0) CMD 328 bash Fri Nov 15 06:11:12 2013 ls 328 bash Fri Nov 15 06:12:24 2013 python vol.py -i ../after.bin -o uname 328 bash Fri Nov 15 06:11:39 2013 cd volafox 328 bash Fri Nov 15 05:31:35 2013 cd /tmp/ 328 bash Fri Nov 15 06:11:04 2013 ls 328 bash Fri Nov 15 05:32:27 2013 sudo ./osxpmem -f raw after.bin 328 bash Fri Nov 15 06:13:09 2013 clear 328 bash Fri Nov 15 06:11:07 2013 sudo mv after.bin ~ 328 bash Fri Nov 15 05:31:27 2013 cat ~/.bash_history 328 bash Fri Nov 15 05:31:36 2013 ls 328 bash Fri Nov 15 06:11:39 2013 ls 328 bash Fri Nov 15 05:32:18 2013 ls -al 328 bash Fri Nov 15 06:11:20 2013 sudo chown n0fate:staff after.bin 328 bash Fri Nov 15 06:11:27 2013 sudo chown chainbreaker:staff after.bin 328 bash Fri Nov 15 05:31:11 2013 ls 328 bash Fri Nov 15 05:31:11 2013 ./osxpmem -f raw historyc.bin 328 bash Fri Nov 15 05:31:11 2013 sudo ./osxpmem -f raw historyc.bin 328 bash Fri Nov 15 05:31:11 2013 ls 328 bash Fri Nov 15 05:31:11 2013 ls -al 328 bash Fri Nov 15 05:31:11 2013 sudo mv *.bin ~ 328 bash Fri Nov 15 05:31:11 2013 cd ~ 328 bash Fri Nov 15 05:31:11 2013 sudo chown chainbreaker:staff *.bin 328 bash Fri Nov 15 05:31:11 2013 chmod 664 *.bin 328 bash Fri Nov 15 05:31:11 2013 ls -al 328 bash Fri Nov 15 05:31:11 2013 cd volafox 328 bash Fri Nov 15 05:31:11 2013 python vol.py -i ../dump.bin -o ps 328 bash Fri Nov 15 05:31:11 2013 python vol.py -i ../dump.bin -o bash_history 328 bash Fri Nov 15 05:31:11 2013 python vol.py -i ../historyc.bin -o bash_history 328 bash Fri Nov 15 05:31:11 2013 sudo reboot 328 bash Fri Nov 15 06:11:12 2013 cd ~ 328 bash Fri Nov 15 05:32:15 2013 lsa 328 bash Fri Nov 15 05:32:11 2013 sudo chown -R root:wheel OSXPMem 328 bash Fri Nov 15 05:32:02 2013 chown -R root:wheel OSXPMem 328 bash Fri Nov 15 06:13:17 2013 history 328 bash Fri Nov 15 05:32:15 2013 cd OSXPMem/ 328 bash Fri Nov 15 06:11:44 2013 python vol.py -i ../after.bin -o ps 328 bash Fri Nov 15 06:12:47 2013 python vol.py -i ../after.bin -o ps 328 bash Fri Nov 15 06:11:36 2013 sudo chmod 644 after.bin 328 bash Fri Nov 15 06:12:44 2013 python vol.py -i ../after.bin -o kextstat 328 bash Fri Nov 15 06:13:51 2013 history 586 bash Fri Nov 15 05:31:43 2013 cd Downloads/ 586 bash Fri Nov 15 05:31:41 2013 cd ~ 586 bash Fri Nov 15 05:31:41 2013 python vol.py -i ../dump.bin -o bash_history 586 bash Fri Nov 15 05:31:41 2013 cd volafox 586 bash Fri Nov 15 05:31:41 2013 python vol.py -i ../dump.bin -o ps 586 bash Fri Nov 15 05:31:41 2013 ls -al 586 bash Fri Nov 15 05:31:41 2013 sudo chown chainbreaker:staff *.bin 586 bash Fri Nov 15 05:31:41 2013 chmod 664 *.bin 586 bash Fri Nov 15 05:31:41 2013 ls 586 bash Fri Nov 15 05:31:41 2013 ls 586 bash Fri Nov 15 05:31:41 2013 sudo mv *.bin ~ 586 bash Fri Nov 15 05:31:41 2013 ./osxpmem -f raw historyc.bin 586 bash Fri Nov 15 05:31:41 2013 sudo ./osxpmem -f raw historyc.bin 586 bash Fri Nov 15 05:31:43 2013 ls 586 bash Fri Nov 15 05:31:41 2013 python vol.py -i ../historyc.bin -o bash_history 586 bash Fri Nov 15 05:31:41 2013 sudo reboot 586 bash Fri Nov 15 05:31:41 2013 ls -al 586 bash Fri Nov 15 05:31:48 2013 tar xvf OSXPMem-RC1.tar 586 bash Fri Nov 15 05:31:54 2013 mv OSXPMem /tmp 769 bash Fri Nov 15 06:14:08 2013 cd OSXPMem/ 769 bash Fri Nov 15 06:14:22 2013 sudo ./osxpmem -f raw dump2.bin 769 bash Fri Nov 15 06:14:01 2013 cd /tmp/ 769 bash Fri Nov 15 06:14:01 2013 ls chainbreaker@testmachine:~/volafox$