Hello, Stranger

[GPU-based Keylogger] 1. 준비단계 본문

Research/GPU-based Keylogger

[GPU-based Keylogger] 1. 준비단계

blackcon 2015.08.02 23:41

1. 분석 환경

blackcon@bk{~}:uname -a

Linux bk 3.16.0-43-generic #58~14.04.1-Ubuntu SMP Mon Jun 22 10:21:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


blackcon@bk{~}:lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 14.04.2 LTS

Release: 14.04

Codename: trusty



2. 준비물 : OpenCL, Graphic(NVIDA or AMD) card, Linux kernel headers
1) OpenCL drivers/icd's installed
 ** 만약 그래픽카드가 설치되어있지 않다면 설치해주어야 합니다. ( sudo apt-get install nvidia-current )
 
<Setup>

sudo apt-get update && sudo apt-get upgrade

wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb

sudo dpkg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb

sudo apt-get update

sudo apt-get install cuda

  
 
<환경변수 추가>
export PATH=/usr/local/cuda-7.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib64:$LD_LIBRARY_PATH

<설치>
cuda-install-samples-7.0.sh ~
cd ~
/NVIDIA_CUDA-7.0_Samples
make
*참고사이트 :

  http://vasir.net/blog/opencl/installing-cuda-opencl-pyopencl-on-aws-ec2
  https://www.quantstart.com/articles/Installing-Nvidia-CUDA-on-Ubuntu-14-04-for-Linux-GPU-Computing


2) AMD or NVIDIA card (although AMDAPPSDK does support intel)

3) linux kernel headers
sudo apt-get install 
linux-headers-$(uname -r)


저작자 표시
신고
0 Comments
댓글쓰기 폼