Kallirroi Georgila

73 papers A* 1A 12B 13C 2Misc 3Journal 13Unranked 27
YearRankTypeTitle / Venue / Authors
2024 B conf
SIGDIAL
Kallirroi Georgila
2022 B conf
LREC
Divya Tadimeti, Kallirroi Georgila, David R. Traum
2022 J jnl
CoRR
Shikib Mehri, Jinho Choi, Luis Fernando D'Haro, Jan Deriu, Maxine Eskénazi, Milica Gasic, Kallirroi Georgila, Dilek Hakkani-Tur, Zekang Li, Verena Rieser, Samira Shaikh, David R. Traum, Yi-Ting Yeh, Zhou Yu, Yizhe Zhang, Chen Zhang
2022 B conf
LREC
Deepthi Karkada, Ramesh R. Manuvinakurike, Maike Paetzel-Prüsmann, Kallirroi Georgila
2020 J jnl
IEEE Access
Seitaro Shinagawa, Koichiro Yoshino, Seyed Hossein Alavi, Kallirroi Georgila, David R. Traum, Sakriani Sakti, Satoshi Nakamura
2020 B conf
LREC
Kallirroi Georgila, Anton Leuski, Volodymyr Yanov, David R. Traum
2020 B conf
LREC
Kallirroi Georgila, Carla Gordon, Volodymyr Yanov, David R. Traum
2020 conf
IWSDS
Carla Gordon, Kallirroi Georgila, Volodymyr Yanov, David R. Traum
2020 Misc conf
FLAIRS
Skanda Vaidyanath, Kallirroi Georgila, David R. Traum
2019 A conf
AAMAS
Kallirroi Georgila, Mark G. Core, Benjamin D. Nye, Shamya Karumbaiah, Daniel Auerbach, Maya Ram
2018 Misc conf
FLAIRS
Gang Xiao, Kallirroi Georgila
2018 J jnl
CoRR
Ramesh R. Manuvinakurike, Sumanth Bharadwaj, Kallirroi Georgila
2018 conf
SIGDIAL Conference
Ramesh R. Manuvinakurike, Trung Bui, Walter Chang, Kallirroi Georgila
2018 B conf
LREC
Ramesh R. Manuvinakurike, Jacqueline Brixey, Trung Bui, Walter Chang, Doo Soon Kim, Ron Artstein, Kallirroi Georgila
2018 conf
AIED (1)
Benjamin D. Nye, Shamya Karumbaiah, S. Tugba Tokel, Mark G. Core, Giota Stratou, Daniel Auerbach, Kallirroi Georgila
2018 conf
IWSDS
Kallirroi Georgila, Carla Gordon, Hyungtak Choi, Jill Boberg, Heesik Jeon, David R. Traum
2018 J jnl
CoRR
Deepthi Karkada, Ramesh R. Manuvinakurike, Kallirroi Georgila
2017 A conf
AIED
Benjamin Nye, Shamya Karumbaiah, S. Tugba Tokel, Mark G. Core, Giota Stratou, Daniel Auerbach, Kallirroi Georgila
2017 J jnl
AI Soc.
Elnaz Nouri, Kallirroi Georgila, David R. Traum
2017 ch.
Social Signal Processing
Kallirroi Georgila
2017 conf
SIGDIAL Conference
Ramesh R. Manuvinakurike, David DeVault, Kallirroi Georgila
2016 conf
HLT-NAACL Demos
Ron Artstein, Alesia Gainer, Kallirroi Georgila, Anton Leuski, Ari Shapiro, David R. Traum
2016 J jnl
Inf. Media Technol.
Takuya Hiraoka, Kallirroi Georgila, Elnaz Nouri, David R. Traum, Satoshi Nakamura
2016 Misc conf
FLAIRS
Kallirroi Georgila, David V. Pynadath
2015 B conf
ACII
Giota Stratou, Louis-Philippe Morency, David DeVault, Arno Hartholt, Edward Fast, Margaux Lhommet, Gale M. Lucas, Fabrizio Morbini, Kallirroi Georgila, Stefan Scherer, Jonathan Gratch, Stacy Marsella, David R. Traum, Albert A. Rizzo
2015 conf
SIGDIAL Conference
David R. Traum, Kallirroi Georgila, Ron Artstein, Anton Leuski
2015 C conf
ICIDS
David R. Traum, Andrew Jones, Kia Hays, Heather Maio, Oleg Alexander, Ron Artstein, Paul E. Debevec, Alesia Gainer, Kallirroi Georgila, Kathleen Haase, Karen Jungblut, Anton Leuski, Stephen Smith, William R. Swartout
2015 conf
SIGDIAL Conference
Takuya Hiraoka, Kallirroi Georgila, Elnaz Nouri, David R. Traum, Satoshi Nakamura
2015 conf
SIGDIAL Conference
Alexandros Papangelis, Kallirroi Georgila
2015 A* conf
AAAI
Louis-Philippe Morency, Giota Stratou, David DeVault, Arno Hartholt, Margot Lhommet, Gale M. Lucas, Fabrizio Morbini, Kallirroi Georgila, Stefan Scherer, Jonathan Gratch, Stacy Marsella, David R. Traum, Albert A. Rizzo
2015 conf
SIGDIAL Conference
Eli Pincus, Kallirroi Georgila, David R. Traum
2014 conf
SIGDIAL Conference
Fabrizio Morbini, David DeVault, Kallirroi Georgila, Ron Artstein, David R. Traum, Louis-Philippe Morency
2014 A conf
AAMAS
David DeVault, Ron Artstein, Grace Benn, Teresa Dey, Edward Fast, Alesia Gainer, Kallirroi Georgila, Jonathan Gratch, Arno Hartholt, Margaux Lhommet, Gale M. Lucas, Stacy Marsella, Fabrizio Morbini, Angela Nazarian, Stefan Scherer, Giota Stratou, Apar Suri, David R. Traum, Rachel Wood, Yuyu Xu, Albert A. Rizzo, Louis-Philippe Morency
2014 conf
ACL (1)
Kallirroi Georgila, Claire Nelson, David R. Traum
2014 A conf
IUI
Ron Artstein, David R. Traum, Oleg Alexander, Anton Leuski, Andrew Jones, Kallirroi Georgila, Paul E. Debevec, William R. Swartout, Heather Maio, Stephen Smith
2013 conf
SIGDIAL Conference
Kallirroi Georgila
2013 conf
SIGDIAL Conference
David DeVault, Kallirroi Georgila, Ron Artstein, Fabrizio Morbini, David R. Traum, Stefan Scherer, Albert Skip Rizzo, Louis-Philippe Morency
2012 B conf
CogSci
Elnaz Nouri, Kallirroi Georgila, David R. Traum
2012 B conf
LREC
Kallirroi Georgila, Alan W. Black, Kenji Sagae, David R. Traum
2012 conf
SIGDIAL Conference
Teruhisa Misu, Kallirroi Georgila, Anton Leuski, David R. Traum
2011 conf
SIGDIAL Conference
Kallirroi Georgila, Ron Artstein, Angela Nazarian, Michael Rushforth, David R. Traum, Katia P. Sycara
2011 C conf
ASRU
William Yang Wang, Kallirroi Georgila
2011 conf
HCI (6)
Kallirroi Georgila, David R. Traum
2011 A conf
INTERSPEECH
Kallirroi Georgila, David R. Traum
2010 conf
SIGDIAL Conference
Kallirroi Georgila, Ning Wang, Jonathan Gratch
2010 conf
SIGDIAL Conference
Kallirroi Georgila, Maria Klara Wolters, Johanna D. Moore
2010 B conf
LREC
Xuchen Yao, Pravin Bhutada, Kallirroi Georgila, Kenji Sagae, Ron Artstein, David R. Traum
2010 J jnl
Lang. Resour. Evaluation
Kallirroi Georgila, Maria Klara Wolters, Johanna D. Moore, Robert H. Logie
2009 J jnl
Nat. Lang. Eng.
Kallirroi Georgila, Oliver Lemon, James Henderson, Johanna D. Moore
2009 J jnl
ACM Trans. Access. Comput.
Maria Klara Wolters, Kallirroi Georgila, Johanna D. Moore, Sarah E. MacPherson
2009 conf
SIGDIAL Conference
Taghi Paksima, Kallirroi Georgila, Johanna D. Moore
2009 J jnl
Interact. Comput.
Maria Klara Wolters, Kallirroi Georgila, Johanna D. Moore, Robert H. Logie, Sarah E. MacPherson, Matthew Watson
2009 conf
HCI (6)
Ravichander Vipperla, Maria Klara Wolters, Kallirroi Georgila, Steve Renals
2009 conf
HLT-NAACL (Short Papers)
Kallirroi Georgila
2008 B conf
LREC
Kallirroi Georgila, Maria Klara Wolters, Vasilis Karaiskos, Melissa Kronenthal, Robert H. Logie, Neil Mayo, Johanna D. Moore, Matthew Watson
2008 J jnl
Comput. Linguistics
James Henderson, Oliver Lemon, Kallirroi Georgila
2008 conf
ACL (2)
Kallirroi Georgila, Maria Klara Wolters, Johanna D. Moore
2006 A conf
EACL
Oliver Lemon, Kallirroi Georgila, James Henderson, Matthew N. Stuttle
2006 conf
SLT
Oliver Lemon, Kallirroi Georgila, James Henderson
2006 A conf
INTERSPEECH
Kallirroi Georgila, James Henderson, Oliver Lemon
2005 A conf
INTERSPEECH
Kallirroi Georgila, James Henderson, Oliver Lemon
2005 conf
SIGDIAL Workshop
Jost Schatzmann, Kallirroi Georgila, Steve J. Young
2004 B conf
LREC
Kallirroi Georgila, Nikos Fakotakis, George Kokkinakis
2003 J jnl
Int. J. Speech Technol.
Kallirroi Georgila, Kyriakos N. Sgarbas, Anastasios Tsopanoglou, Nikos Fakotakis, George Kokkinakis
2003 A conf
INTERSPEECH
Ilyas Potamitis, Kallirroi Georgila, Nikos Fakotakis, George K. Kokkinakis
2002 J jnl
Int. J. Speech Technol.
Kallirroi Georgila, Nikos Fakotakis, George Kokkinakis
2002
Kallirroi Georgila
2001 A conf
INTERSPEECH
Kallirroi Georgila, Nikos Fakotakis, George K. Kokkinakis
2000 B conf
LREC
Kallirroi Georgila, Nikos Fakotakis, George Kokkinakis
2000 A conf
INTERSPEECH
Kallirroi Georgila, Nikos Fakotakis, George Kokkinakis
2000 A conf
INTERSPEECH
Kallirroi Georgila, Kyriakos N. Sgarbas, Nikos Fakotakis, George Kokkinakis
1998 conf
ICSLP
Kallirroi Georgila, Anastasios Tsopanoglou, Nikos Fakotakis, George Kokkinakis
1997 conf
EUROSPEECH
Nikos Fakotakis, Kallirroi Georgila, Anastasios Tsopanoglou
redb/extractors/macho_extractors/macho_segments.py
← Index redb/extractors/macho_extractors/macho_segments.py python
import hashlib
import inspect
import base64
from datetime import datetime, timezone
from typing import Any

from redb.extractors.enum import Tag
from redb.extractors.macho_extractor import MachOExtractor
from redb.models.dataclasses import MachOSegment


class MachOSegmentExtractor(MachOExtractor):

    def __init__(
        self,
        filepath,
        log,
        exporters=None,
        index_prefix=None,
        elastic_index=None,
        known_benign=False,
        known_malicious=False,
        macho=None,
    ):
        super().__init__(
            filepath,
            log,
            exporters,
            index_prefix,
            elastic_index,
            known_benign,
            known_malicious,
            macho,
        )
        self.elastic_index = self.index_prefix + "-macho_segments"
        self.log.debug(inspect.currentframe().f_code.co_name)

    def _is_empty_result(self, extracted_data) -> bool:
        """
        Override: Empty segments is an ERROR, not a valid empty case.
        A valid MachO file must have segments (at minimum __PAGEZERO, __TEXT).
        """
        # Always return False - empty segments should be treated as an error
        return False

    def tag(self):
        return Tag.MACHO_SEGMENT.value

    def _extract_segments_for_arch(self, arch_name):
        """Extract segment information for a specific architecture."""
        self.log.debug(f"Extracting segments for architecture: {arch_name}")
        segments = []

        try:
            # Get segments using new API with architecture parameter
            segments_data = self.macho.get_segments(arch=arch_name)
            if not segments_data:
                return segments

            # Extract segments for this architecture
            for segment in segments_data:
                try:
                    segment_name = segment.get('segname', 'Unknown')

                    # Calculate segment hash
                    segment_data = self._get_segment_data(segment)
                    if segment_data:
                        seg_sha256 = hashlib.sha256(segment_data).hexdigest()
                    else:
                        seg_sha256 = ""

                    # Use entropy already calculated by machofile module, rounded to 3 decimal places
                    seg_entropy = round(segment.get('entropy', 0.0), 3)

                    # Create segment dataclass with architecture info
                    macho_segment = MachOSegment(
                        segment_name=segment_name,
                        segment_vaddr=segment.get('vaddr', 0),
                        segment_vsize=segment.get('vsize', 0),
                        segment_offset=segment.get('offset', 0),
                        segment_size=segment.get('size', 0),
                        segment_max_vm_protection=segment.get('max_vm_protection', 0),
                        segment_initial_vm_protection=segment.get('initial_vm_protection', 0),
                        segment_nsects=segment.get('nsects', 0),
                        segment_flags=segment.get('flags', 0),
                        segment_entropy=seg_entropy,
                        segment_sha256=seg_sha256,
                    )
                    # Add architecture info to the segment
                    macho_segment.architecture = arch_name
                    segments.append(macho_segment)

                except Exception as e:
                    self.log.warning(
                        f'Unable to process segment "{segment.get("segname", "Unknown")}" for architecture {arch_name} in {self.hash.sha256}: {e}'
                    )
                    continue

            return segments

        except Exception as e:
            self.log.error(f"Error extracting MachO segments for architecture {arch_name}: {e}")
            return segments

    def _extract_segments(self):
        """Extract segment information from all architectures in the MachO binary."""
        self.log.debug(inspect.currentframe().f_code.co_name)
        segments = []

        if not self.macho:
            return segments

        try:
            # Get architectures using new API (already parsed in base class)
            architectures = self.macho.get_architectures()
            if not architectures:
                return segments

            # Process each architecture
            for arch_name in architectures:
                arch_segments = self._extract_segments_for_arch(arch_name)
                segments.extend(arch_segments)

            return segments

        except Exception as e:
            self.log.error(f"Error extracting MachO segments: {e}")
            return segments

    def _get_segment_data(self, segment):
        """Get the raw data for a segment."""
        try:
            offset = segment.get('offset', 0)
            size = segment.get('size', 0)
            
            if size == 0:
                return None
            
            # Read segment data from file
            with open(self.filepath, 'rb') as f:
                f.seek(offset)
                return f.read(size)
                
        except Exception as e:
            self.log.warning(f"Error reading segment data: {e}")
            return None

    def extract(self):
        self.log.debug(inspect.currentframe().f_code.co_name)
        try:
            segments = self._extract_segments()
            return segments
        except Exception as e:
            self.log.error(f"Error extracting MachO segments: {e}")
            return None

    def prepare_export_data(self, exporter_type: str) -> Any:
        if exporter_type == "ElasticsearchExporter":
            return self.extract()
        elif exporter_type == "ClickHouseExporter":
            if not self.macho:
                return None

            # Get architectures (macho is already parsed in base class)
            try:
                architectures = self.macho.get_architectures()
                is_fat = len(architectures) > 1
            except Exception as e:
                self.log.error(f"Could not get architectures: {e}")
                return None

            data = []
            current_time = datetime.now(timezone.utc)

            # Loop through each architecture (1 for single, multiple for FAT)
            for arch_name in architectures:
                # Extract segments for this specific architecture
                segments = self._extract_segments_for_arch(arch_name)
                if not segments:
                    continue

                # Get architecture-specific sha256 and header info
                try:
                    arch_general_info = self.macho.get_general_info(arch=arch_name)
                    arch_sha256 = arch_general_info.get('SHA256', self.sha256)

                    # Get raw architecture value
                    arch_header_raw = self.macho.get_macho_header(arch=arch_name)
                    arch_cputype_raw = arch_header_raw.get('cputype', 0) if arch_header_raw else 0
                except Exception as e:
                    self.log.warning(f"Could not get arch-specific data for {arch_name}: {e}")
                    arch_sha256 = self.sha256
                    arch_cputype_raw = 0

                for segment in segments:
                    data.append([
                        arch_sha256,                          # sha256 (architecture-specific)
                        segment.segment_name,                 # segment_name
                        segment.segment_vaddr,                # segment_vaddr
                        segment.segment_vsize,                # segment_vsize
                        segment.segment_offset,               # segment_offset
                        segment.segment_size,                 # segment_size
                        segment.segment_max_vm_protection,    # segment_max_vm_protection
                        segment.segment_initial_vm_protection, # segment_initial_vm_protection
                        segment.segment_nsects,               # segment_nsects
                        segment.segment_flags,                # segment_flags
                        segment.segment_entropy,              # segment_entropy
                        segment.segment_sha256,               # segment_sha256
                        current_time,                         # analysis_date
                    ])

            column_names = [
                'sha256',
                'segment_name', 'segment_vaddr', 'segment_vsize', 'segment_offset',
                'segment_size', 'segment_max_vm_protection', 'segment_initial_vm_protection',
                'segment_nsects', 'segment_flags', 'segment_entropy', 'segment_sha256',
                'analysis_date'
            ]

            if not data:
                return None

            column_type_names = [
                'FixedString(64)',
                'String', 'UInt64', 'UInt64', 'UInt64',
                'UInt64', 'UInt32', 'UInt32',
                'UInt32', 'UInt32', 'Float64', 'FixedString(64)',
                'DateTime64(3, \'UTC\')'
            ]

            return (data, column_names, column_type_names)

        return None

    def get_clickhouse_table(self) -> str:
        return "redb_macho_segments"