2014년 6월 29일 일요일

내부자 보안 강화 방안

  1. 전사적 차원의 주기적인 위험평가 수립
  2. 모든 직원들을 대상으로 한 주기적인 보안수준 제고 교육
  3. 의무와 최소한의 특권 구분
  4. 엄격한 패스워드와 계정관리 정책 이행
  5. 내부직원의 온라인 활동에 대한 로그, 모니터링, 그리고 감사
  6. 시스템 관리자와 특수한 사용자에 대한 이중의 경보시스템 적용
  7. 악의적인 코드에 대한 적극적인 대처
  8. 원격 공격에 대비한 다층 방어(Layered Defense)
  9. 의심스러운 행위와 파괴적인 행위에 대한 모니터링과 대응
  10. 계정만료에 대한 컴퓨터 접근 해지
  11. 수사에 사용될 수 있는 데이터 수집 및 보관
  12. 안전한 백업과 복구 프로세스 수립
  13. 내부 위협 통제에 대한 명확한 문서 보유
각 항목에 대한 구체적인 방안에 대해서는 다음 문서를 참고해 주시기 바랍니다.



2014년 6월 8일 일요일

JackpotCoin-qt Wallet on a Raspberry PI

How to Compiling JacpotCoin QT on Raspbian wheezy

Download : JackpotCoin-qt on a Raspberry PI v.1.4
Download : JackpotCoin-qt on a Raspberry PI v.1.5

SHA1SUM : 4ef5762caa1ce7628d2df829fe3312ab613f2a10  JackpotCoin_RaspberryPi_v1.4.tar.gz
SHA1SUM :   fc783e5409470dc6b96d03a0b0416b62497d4dd9  JackpotCoin_RaspberryPi_v1.5.tar.gz





pi@raspberrypi ~ $ sudo dd if=/dev/zero of=/swapfile bs=64M count=16

pi@raspberrypi ~ $ sudo mkswap /swapfile

pi@raspberrypi ~ $ sudo swapon /swapfile

pi@raspberrypi ~ $ sudo apt-get update

pi@raspberrypi ~ $ sudo apt-get upgrade

pi@raspberrypi ~ $ sudo apt-get install qt4-qmake libqt4-dev build-essential libqrencode-dev libprotobuf-dev

pi@raspberrypi ~ $ sudo apt-get install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-chrono-dev libboost-test-dev libboost-all-dev

(for ubuntu : sudo apt-get install libboost1.48-all-dev)

pi@raspberrypi ~ $ sudo apt-get install libtool autotools-dev autoconf

pi@raspberrypi ~ $ sudo apt-get install libssl-dev libdb++-dev libminiupnpc-dev git

pi@raspberrypi ~ $ mkdir Wallet

pi@raspberrypi ~ $ cd Wallet

pi@raspberrypi ~/Wallet $ git clone https://github.com/rtc29462/JackpotCoin

pi@raspberrypi ~/Wallet $ cd JackpotCoin

pi@raspberrypi ~/Wallet/JackpotCoin $ cd src/

pi@raspberrypi ~/Wallet/JackpotCoin $ vi makefile.unix

xCXXFLAGS=-O2 -msse2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fpermissive \
line 96, remove -msse2

xCXXFLAGS=-O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fpermissive \

pi@raspberrypi ~/Wallet/JackpotCoin/src $ make -f makefile.unix

pi@raspberrypi ~/Wallet/JackpotCoin/src $ cd ..

pi@raspberrypi ~/Wallet/JackpotCoin $ qmake

pi@raspberrypi ~/Wallet/JackpotCoin $ vi Makefile

pi@raspberrypi ~/Wallet/JackpotCoin $ make

pi@raspberrypi ~/Wallet/JackpotCoin $ ./JackpotCoin-qt

2014년 6월 6일 금요일

Bitcoin-qt client on a Raspberry PI


How to Compiling BitCoin QT on Raspbian wheezy


# Get db4.8 source, compile and install
(https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#berkeley-db)


BITCOIN_ROOT=$(pwd)

# Pick some path to install BDB to, here we create a directory within the bitcoin directory
BDB_PREFIX="${BITCOIN_ROOT}/db4"
mkdir -p $BDB_PREFIX

# Fetch the source and verify that it is not tampered with
wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef  db-4.8.30.NC.tar.gz' | sha256sum -c
# -> db-4.8.30.NC.tar.gz: OK
tar -xzvf db-4.8.30.NC.tar.gz

# Build the library and install to our prefix
cd db-4.8.30.NC/build_unix/
#  Note: Do a static build so that it can be embedded into the exectuable, instead of having to find a .so at runtime
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
make install

# Configure Bitcoin Core to use our own-built instance of BDB
cd $BITCOIN_ROOT
./configure (other args...) LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/"


pi@raspberrypi ~ $ sudo apt-get update

pi@raspberrypi ~ $ sudo apt-get upgrade

pi@raspberrypi ~ $ sudo apt-get install qt4-qmake libqt4-dev build-essential libqrencode-dev libprotobuf-dev

pi@raspberrypi ~ $ sudo apt-get install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-chrono-dev libboost-test-dev

pi@raspberrypi ~ $ sudo apt-get install libtool autotools-dev autoconf

pi@raspberrypi ~ $ sudo apt-get install libssl-dev libdb++-dev libminiupnpc-dev git

pi@raspberrypi ~ $ mkdir Wallet

pi@raspberrypi ~ $ cd Wallet

pi@raspberrypi ~/Wallet $ git clone https://github.com/bitcoin/bitcoin.git

pi@raspberrypi ~/Wallet $ cd bitcoin

pi@raspberrypi ~/Wallet/bitcoin $ ./autogen.sh

pi@raspberrypi ~/Wallet/bitcoin $ ./configure

pi@raspberrypi ~/Wallet/bitcoin $ make



Crypto-currencies exchange site list

1. https://www.bitstamp.net

2. https://btc-e.com

3. https://www.cryptsy.com

4. https://coinbase.com

5. https://bter.com

6. https://coinedup.com

7. https://mcxnow.com

8. https://www.mintpal.com

9. https://www.allcrypt.com

10. https://bittrex.com

11. https://www.swisscex.com

12. https://cryptofunds.pw

13. https://coin-swap.net

14. https://www.korbit.co.kr

15. https://www.xcoin.co.kr

16. http://www.yapizon.com

17. https://www.icurrex.com

18. https://btc-kor.com


Reentrancy Attack: 블록체인 스마트 컨트랙트의 치명적인 취약점

블록체인 기술이 전 세계적으로 주목받으면서 스마트 컨트랙트(Smart Contract)의 사용이 급격히 증가하고 있습니다. 하지만 그만큼 보안 취약점도 함께 늘어나고 있는데, 그 중에서도 Reentrancy Attack(재진입 공격)은 매우 치명적이고...