CreateMutex
까보면 다나와~
툴 정보 및 사용법/ETC (24)

SecureCRT에서 파일전송하기
SecureCRT에서 원격 PC에 접속 후 파일전송하는 방법은 다음과 같다.

# rz

만약 실행안되면

# sudo apt-get install lrzsz
  Comments,     Trackbacks

Truman - Refernce sites, 기타 메모했던거..


http://www.secureworks.com/assets/24669/truman-0.1.tar.gz <-설치URL
http://pen-test.jpn.org/honey:truman CentOS Truman 설치 잘 나온거
http://blog.naver.com/nforce7050?Redirect=Log&logNo=140141157931 CentOS 커널설치

http://www.linuxquestions.org/questions/linux-server-73/centos-5-pxe-install-server-w-kickstart-issues-721241/
http://www.jopenbusiness.com/tc/oss/entry/CentOS-%EB%84%A4%ED%8A%B8%EC%9B%8C%ED%81%AC-%EC%84%A4%EC%A0%95
http://www.linuxreaders.com/2010/06/15/pxe-boot-server-on-centos/
 http://blog.blueweb.co.kr/140
http://nsmwiki.org/Truman_Installation_Notes#Truman_Server truman 설치 방법 제일 잘 나온거
http://www.techienote.com/2010/06/pxe-boot-server-on-centos.html

### CentOS Truman 설치>>>>>>>>>> CentOS 5.4 이상 버젼 부터는 kernel이 탑재되었음. dkms와 dkms-fuse가 필요하지 않음.
 문제는 fuse와 fuse-ntfs-3g를 설치해야는데 fuse-ntfs-3g가 no pakages
 CentOS 사이트에서 다시 rpmporge설정을 해야 함.
 
 ngrep 설치
 >wget http://packages.sw.be/ngrep/ngrep-1.45-1.el6.rf.i686.rpm
 >rpm -ivh ngrep-1.45-1.el6.rf.i686.rpm


### Ubuntu Truman 설치>>>>>>>>>> 우분투 LTS(10.04)도 커널 마운트는 기본으로 설치됨
 설치하면 최초 루트 권한을 가져와야한다. sudo passwd root
 이후 apt-get update로 패키지 update
 apt-get install xinetd tftpd-hpa dhcp3-server
  ####여기서 netkit-inetd가 없다. 그래서 apt-get install openbsd-inetd로 설치
  하나하나 다시 설치!!### - x
 netstat -uap로 tftp 확인
 vim 설치, apt-get install vim
 vim /etc/inetd.conf
  [...]
  #:BOOT: Tftp service is provided primarily for booting.  Most sites
  # run this only on machines acting as "boot servers."
  tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot
  [...]

 여기서 잠깐! xinetd와 inetd는 같이 설치될 수 없다. 따라서 밑에 것은 주석 처리.
 ##########>sudo /etc/init.d/openbsd-inetd restart 
  
 >cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf_orig
 >cat /dev/null > /etc/dhcp3/dhcpd.conf
 >vim /etc/dhcp3/dhcpd.conf (수정...http://nsmwiki.org/Truman_Installation_Notes 요거로)
  -> vim /etc/default/dhcp3-server
   -> INTERFACES="eth1"
 >sudo sysctl -w net.ipv4.ip_forward=1 (이건 나중에..)
 >/etc/init.d/dhcp3-server restart (/etc/init.d/dhcpd start는 안됌, 무슨 차이인지 모르겠음)
 #우분투 인터페이스 설정방법
 >sudo vim /etc/network/interfaces
  auto eth1
  iface eth1 inet static
  netmask 255.0.0.0
 >ifup eth1
 >sudo /etc/init.d/networking restart
 >apt-get install apache2
  /etc/init.d/apache2 restart
 >apt-get install wireshark
 >apt-get install ngrep
 >apt-get install bootp(검증x)
 >vim /bin/ddquiet
  #!/bin/bash
  /bin/dd $* 2>/dev/null
 >트루만 설치
  >wget http://www.secureworks.com/assets/24669/truman-0.1.tar.gz
  >tar xvzf truman - 0.1.tar.gz
 >clinet MAC 00 0C-29-1D-C7-5D
 >각종 설정 파일을 수정
 # cp /usr/lib/cgi-bin/index.html /usr/lib/cgi-bin/truman.cgi/var/www/cgi-bin/
 # chown -R apache:apache /var/www/cgi-bin/
 # chown apache:apache /tftpboot/pxelinux.cfg/*
 # chmod 777 /forensics/queue /forensics/exes

http://apache.mirror.cdnetworks.com//httpd/httpd-2.2.21.tar.gz
-----------------
https://help.ubuntu.com/community/PXEInstallServer -> 개념
http://poohyhoh.blogspot.com/2011/01/1010-tftp.html -> 국내
http://rookiecj.tistory.com/256 -> 국내, 요것도 개념 TFTP Server설정하는 방법
http://www.howtoforge.com/ubuntu_pxe_install_server
http://blog.dinux.kr/?p=94
.
http://webcache.googleusercontent.com/search?q=cache:JtEkO5K-AmAJ:wizardbible.org/30/30.txt+bin/ddquiet&cd=4&hl=ko&ct=clnk&gl=kr

-------------------------------------------------------------

  Comments,     Trackbacks

Truman(PXE를 활용한 악성코드 동적분석 툴) - troubleshooting

.....안돼는 원인을 안거 같다.

Truman은 오래전에 만들어진 것이고, IDE hard disk 상에서 돌아간다.
지금은 SCSI를 사용하고 그것은 커널상의 문제가 있기 때문이다.
따라서 예전 커널을 사용하는 Linux를 사용하면 IDE hard를 hda로 포멧이 가능해서
dd 명령을 구현가능하다.

결론은 정말 포기..

아오!!!

  Comments,     Trackbacks

Wireshark, filter expression (in VMWARE)

와이어샤크를 VMWARE에서 사용하다보면 내무에서 사용하는 많은 필요치않은 패킷들 때문에 원하는 정보를 찾아보기가 힘들고, 매번 설정하기도 귀찮다.

해서!!! 프로토콜 자체를 지우면 못 보는 게 많아서!!! 포트별로 필터하는 Default Expression in VM을 작성했다!!

!tcp.port == 139 and !udp.port == 137 and !udp.port == 138 and !udp.port == 5388 and !udp.port == 1900 and !udp.port == 6771 and !udp.port == 5353

거즘 UDP 포트다. SMB, NBNS, SSDP, plysrv-https(?), LANMAN을 뺀 것들이니 참고를 하시길.

icmp and arp 제외
!icmp and !tcp.port == 139 and !udp.port == 137 and !udp.port == 138 and !udp.port == 5388 and !udp.port == 1900 and !udp.port == 6771 and !udp.port == 5353 and !udp.port == 67 and !arp
  Comments,     Trackbacks