brunch

You can make anything
by writing

C.S.Lewis

by hakawati Oct 04. 2016

16년 34주차 정보보안 뉴스클리핑

(주)한국정보보호교육센터 f-NGS Labs

본 정보는 (주)한국정보보호교육센터의 부설 기술연구소 f-NGS Labs에서 생산한 컨텐츠입니다.

(주) 한국정보보호교육센터(www.kisec.com)

[영문 보안 뉴스 및 정보]

PowerOPS - PowerShell Runspace Portable Post Exploitation Tool
UAC Bypass with Elevated Privileges Works on All Windows Versions
Shellphish
Artsploit: [demo.paypal.com] Node.js code injection (RCE)
Brazilian banking Trojans meet PowerShell
Equation Group - Cyber Weapons Auction
PowerShell Security: PowerShell Attack Tools, Mitigation, & Detection » Active Directory Security
NSA's Hacking Group Hacked! Bunch of Private Hacking Tools Leaked Online
badWPAD - The Lasting Menace of a Bad Protocol - Security News
To Catch an APT: YARA

https://files.sans.org/summit/Threat_Hunting_Incident_Response_Summit_2016/PDFs/To-Catch-an-APT-YARA-Jay-DiMartino.pdf


[국문 보안 뉴스 및 정보]

다수 공공-민간 사이트 개인정보 유출 취약점 방치…누리랩, 예방 프로그램 배포
고려대 사이버국방학과는 이름도 모른다?
금융권 개인정보 보호 '허술'…4년간 고객정보 1억822만건 유출
대법, 이미 공개된 개인정보 동의없이 수집·제공 가능
한국인이 제작한 카카오톡 위장 랜섬웨어(Ransomware) 소식
Error Based SQL Injection
Weak Points
고객 정보 2400만건 넘긴 홈플러스, 항소심도 무죄
클릭 없이 안드로이드 뱅킹 트로이목마를 배포하는 멀버타이징 발견!
'게임 핵' 막는 게임법 개정안 발의됐다
주요 OS 제로데이 보안취약점 가격, 수요자 늘면서 계속 상승
삼성페이 보안

[일반 IT 정보]

위키독스는 온라인 책을 제작 공유하는 플랫폼 서비스
Desmos Graphing Calculator
CLOSE_WAIT & TIME_WAIT 최종 분석
Creating AI chat bot with Python 3 and Tensorflow
Creating AI chat bot with Python 3 and Tensorflow

Recently, chat bot has become the center of public attention as a new mobile user interface since 2015. Chat bots are widely used to reduce human-to-human interaction, from consultation to online shopping and negotiation, and still expanding the application coverage. Also, chat bot is the basic of conversational interface and non-physical input interface with combination of voice recognition. Traditional chat bots were developed based on the natural language processing (NLP) and bayesian statistics for user intention recognition and template-based response. However, since 2012, accelerated advance in deep-learning technology and NLPs using deep-learning opened the possibilities to create chat bots with machine learning. Machine learning (ML)-based chat bot development has advantages, for instance, ML-based bots can generate (somewhat non-sense but acceptable) responses to random asks that has no connection with the context once the model is constructed with appropriate learning level. In this talk, I will introduce the garage chat bot creation process step-by-step. First, get the data and preprocess it with Python 3 and pandas. Also, data is modified to more trainable form. With preprocessed data, design the deep learning model with TensorFlow which is suitable for sentence-type input / output and train it. After training, serve the model with messenger interface created by using telegram API and Python 3, and demonstrate the result. In the process, we have to solve several problems. First is the preprocessing the Korean sentences with natural language processors, and tokenizing the sentences with proper length and types. Also, we have to solve the ‘josa (postpositions in Korean) hell” and conjunction problems to construct TensorFlow model. In addition to preprocessing, model architecture to recognize the conversational context is also needed. To serve bot with Python HTTP server and telegram API, some points demand deliberation. I’ll share my multi-modal bot model idea, implementation and tips to solve these problems. (Korean)chat bot은 2015년부터 모바일을 중심으로 새로운 사용자 UI로 주목받고 있다. 챗 봇은 상담시 인간-인간 인터랙션을 줄이는 용도부터 온라인 쇼핑 구매에 이르기까지 다양한 분야에 활용되고 있으며 그 범위를 넓혀 나가고 있다. 챗 봇은 대화형 인터페이스의 기초이면서 동시에 (음성 인식과 결합을 통한) 무입력 방식 인터페이스의 기반 기술이기도 하다. 기존의 챗 봇들은 자연어 분석과 베이지안 통계에 기반한 사용자 의도 패턴 인식과 그에 따른 템플릿 응답을 기본 원리로 하여 개발되었다. 그러나 2012년 이후 급속도로 발전한 딥러닝 및 그에 기초한 자연어 인식 기술은 기계 학습을 이용해 챗 봇을 만들 수 있는 가능성을 열었다. 기계학습을 통해 챗 봇을 개발할 경우, 충분한 학습도의 모델을 구축한 후에는 학습 데이터에 따라 컨텍스트에서 벗어난 임의의 문장 입력에 대해서도 적당한 답을 생성할 수 있다는 장점이 있다. 이 발표에서는 Python 3 를 이용하여 실제 사용할 수 있는 챗 봇을 만드는 과정을 단계별로 진행한다. 우선 데이터를 구한 후 Python 3 와 Pandas를 사용하여 데이터를 전처리한다. 이렇게 전처리한 데이터를 학습에 적당한 형태로 재가공한다. 그 후 컴퓨터에 TensorFlow의 python 3 패키지를 설치한다. 이후 TensorFlow 를 이용하여 문장형 입출력에 적절한 딥러닝 모델을 설계한 후, 앞에서 전처리한 데이터를 이용하여 학습시킨 모델을 만든다. 이렇게 만든 모델을 telegram API 를 이용해 인터페이스를 만든 후, telegram에 봇을 친구로 등록하여 대화를 시연한다. 이 과정에서 여러 문제들을 해결해야 한다. 우선 한국어 자연어 처리를 위해 데이터를 적절히 전처리하는 과정과, 모델 학습을 위해 문장의 길이 및 형태를 적절히 토크나이징하는 과정이 필요하다. 그 다음 Tensorflow 로 모델을 설계하고 딥러닝 모델로 학습하는 단계에서 장애가 되는 조사 및 접속사 처리, 오타 처리등의 문제를 해결해야 한다. 또한 연속 대화 구현을 위하여 문장 단위의 입출력이 아니라 컨텍스트를 인식하기 위한 모델 설계 또한 필요하다. 학습한 결과를 파이썬 HTTP 서버 및 telegram API를 이용해 서빙하는 부분에서 몇가지 고려할 부분들도 있다. 이러한 부분들에 대한 아이디어 및 구현과 팁을 공유하고자 한다.

www.pycon.kr

 

[일독 추천]

사업을 하면서 다짐한 5가지
[명견만리 플러스] 학원에 안 다니면 비정상인가요? 김석규 중학생
책을 쓰기 위한 환경과 책을 잘 쓰기 위한 도구
프로와 아마추어의 40가지 차이
"인생이 아무리 당신을 짓밟고 구기고 쥐어짠다 해도 당신의 가치는 그대로입니다."
기술 문서를 쓸 때 주의해야 할 몇 가지를 나열합니다.
매거진의 이전글 16년 33주차 정보보안 뉴스클리핑
작품 선택
키워드 선택 0 / 3 0
댓글여부
afliean
브런치는 최신 브라우저에 최적화 되어있습니다. IE chrome safari